webpack-visualizer icon indicating copy to clipboard operation
webpack-visualizer copied to clipboard

(feature request) add enable/disable

Open Ks89 opened this issue 8 years ago • 2 comments

I think that an option like 'enable' could be very useful.

plugins: [new Visualizer({ filename: './statistics.html', enable: true })],

Ks89 avatar May 25 '17 08:05 Ks89

You can very well insert it in the plugins array only when your enable expression evaluates to true?

Dante-101 avatar May 26 '17 08:05 Dante-101

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 :)

Ks89 avatar May 26 '17 09:05 Ks89