8000 Allow postcss options to be a function (webpack) => PostCSSPlugin[] · Issue #106 · vuejs/vue-loader · GitHub
[go: up one dir, main page]

Skip to content

Allow postcss options to be a function (webpack) => PostCSSPlugin[] #106

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
TerenceZ opened this issue Dec 21, 2015 · 2 comments
Closed

Comments

@TerenceZ
Copy link

To allow the postcss-import add dependencies to webpack, it should accept some options like:

{
  addDependencyTo: webpack
}

So the vue-loader should also allow the postcss options be a function(webpack): [], just like postcss-loader.

@yyx990803
Copy link
Member

Sounds right, feel free to submit a PR for this! https://github.com/vuejs/vue-loader/blob/master/lib/style-rewriter.js#L39-L41

@yyx990803
Copy link
Member

Shipped in 7.4.0

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
0