Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature request) add enable/disable #38

Open
Ks89 opened this issue May 25, 2017 · 2 comments
Open

(feature request) add enable/disable #38

Ks89 opened this issue May 25, 2017 · 2 comments

Comments

@Ks89
Copy link

Ks89 commented May 25, 2017

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

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

@Dante-101
Copy link

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

@Ks89
Copy link
Author

Ks89 commented May 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants