Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Autoprefixer support #102

Closed
yunyu opened this issue Jun 7, 2017 · 2 comments · Fixed by #125
Closed

Autoprefixer support #102

yunyu opened this issue Jun 7, 2017 · 2 comments · Fixed by #125

Comments

@yunyu
Copy link

yunyu commented Jun 7, 2017

Currently, only cssModules is exposed in the configuration, making it impossible to add things like autoprefixer (since that's done at a higher level config object).

@znck
Copy link
Member

znck commented Jun 9, 2017

You can provide options for style compilers. For sass - https://github.com/vuejs/rollup-plugin-vue/blob/master/src/style/scss.js#L12 similarly for other languages too.

In docs http://vuejs.github.io/rollup-plugin-vue/#/en/2.3/?id=style-languages

Is this what are you looking for?

@yunyu
Copy link
Author

yunyu commented Jun 15, 2017

Nope, turns out it was the "Use other plugins" section, which feels a bit inelegant. Should handling other PostCSS processors be a feature, considering that there's already some code for it?

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

Successfully merging a pull request may close this issue.

2 participants