(feature request) add enable/disable
Ks89 opened this issue · 2 comments
Ks89 commented
I think that an option like 'enable' could be very useful.
plugins: [new Visualizer({
filename: './statistics.html',
enable: true
})],
Dante-101 commented
You can very well insert it in the plugins array only when your enable
expression evaluates to true?
Ks89 commented
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 :)