-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Currently the package always requires streamroller and the RollingFileTransport which uses fs-extra as dependency. This is less ideal when bundling an extension for the web. I would suggest to either document how to set up a bundler to allow strip out these dependencies or make it so that they won't be included by tree shaking.
My current Webpack setup for this is:
alias: {
...stdLibBrowser,
streamroller: false,
'./transports/rolling-file': false
},And to ensure that no RollingFileTransport is used I do this:
level: this.logLevel, // See LogLevel type in @vscode-logging/types for possible logLevels
...(IS_WEB_BUNDLE
? {}
: { logPath: context.logUri.fsPath }
),Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels