Skip to content

Option to disable vue-cli plugins through vue.config.js #4262

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

Closed
franciscolourenco opened this issue Jul 10, 2019 · 1 comment · Fixed by #4448
Closed

Option to disable vue-cli plugins through vue.config.js #4262

franciscolourenco opened this issue Jul 10, 2019 · 1 comment · Fixed by #4448

Comments

@franciscolourenco
Copy link

What problem does this feature solve?

I have a project with multiple entry files and multiple vue.config.js, or a dynamic vue.config.js. Depending on the entry or target I would like to enable/disable certain vue-cli plugins.

What does the proposed API look like?

config.disablePlugins = []

@franciscolourenco franciscolourenco changed the title Ability to disable vue-cli plugins through vue.config.js Option to disable vue-cli plugins through vue.config.js Jul 10, 2019
@LinusBorg LinusBorg self-assigned this Jul 28, 2019
LinusBorg added a commit that referenced this issue Aug 16, 2019
Allow skipping of plugins  from command line

close #4262
close #3830
@LinusBorg LinusBorg mentioned this issue Aug 16, 2019
9 tasks
@LinusBorg
Copy link
Member

I pushed a PR for this. However I chose to solve this through a command line flag rather than an option in the config file as that is much more flexible, solving use cases like #3830 as well.

haoqunjiang pushed a commit that referenced this issue Aug 21, 2019
Allow skipping of plugins  from command line

close #4262
close #3830
haoqunjiang pushed a commit that referenced this issue Aug 21, 2019
Allow skipping of plugins  from command line

close #4262
close #3830

(cherry picked from commit fba2ad0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants