webpack-visualizer
webpack-visualizer copied to clipboard
(feature request) add enable/disable
I think that an option like 'enable' could be very useful.
plugins: [new Visualizer({ filename: './statistics.html', enable: true })],
You can very well insert it in the plugins array only when your enable expression evaluates to true?
Yes, at the moment I used that solution, but a boolean (like in many other webpack plugins) could be useful. It's only a suggestion :)