feat(postcss): add nested plugin

This commit is contained in:
moklick
2019-07-25 00:10:56 +02:00
parent 9fe6cff644
commit f7a7ea2b22
5 changed files with 31 additions and 16 deletions
+5 -1
View File
@@ -2,6 +2,7 @@ import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import babel from 'rollup-plugin-babel';
import postcss from 'rollup-plugin-postcss';
import postCssNested from 'postcss-nested';
import autoprefixer from 'autoprefixer';
import bundleSize from 'rollup-plugin-bundle-size';
@@ -28,7 +29,10 @@ export default [{
plugins: [
bundleSize(),
postcss({
plugins: [autoprefixer()]
plugins: [
autoprefixer(),
postCssNested()
]
}),
resolve(),
babel({