Rollup-plugin-vue: Autoprefixer support

Created on 7 Jun 2017  路  2Comments  路  Source: vuejs/rollup-plugin-vue

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

Low Pending Enhancement

Most helpful comment

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?

All 2 comments

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?

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?

Was this page helpful?
0 / 5 - 0 ratings