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

Disable postcss config file when using inline config #800

Closed
egoist opened this issue Apr 30, 2017 · 2 comments · Fixed by #1055
Closed

Disable postcss config file when using inline config #800

egoist opened this issue Apr 30, 2017 · 2 comments · Fixed by #1055

Comments

@egoist
Copy link

egoist commented Apr 30, 2017

What problem does this feature solve?

I manually load postcss config from its config file and set postcss in vue loader options, but vue-loader will also load it and merge inline config with config file so it leads to duplicated plugins.

btw, postcss-loader does not use config file when inline config is set.

What does the proposed API look like?

Maybe this should be the default behavior, or we can introduce an option for this.

@barraponto
Copy link

Agreed. It would be very useful for neutrino-middleware-vue.

@barraponto
Copy link

btw, can we close in favor of #654 ?

blake-newman added a commit to blake-newman/vue-loader that referenced this issue Nov 12, 2017
If no postcss loader is provided in vue loader options then default to
vue-loader handling

This allows you to use vue internal postcss/css handling with known
postcss extensions

fixes: vuejs#942
fixes: vuejs#800
fixes: vuejs#654
yyx990803 pushed a commit that referenced this issue Dec 15, 2017
If no postcss loader is provided in vue loader options then default to
vue-loader handling

This allows you to use vue internal postcss/css handling with known
postcss extensions

fixes: #942
fixes: #800
fixes: #654
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.

3 participants