File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,15 @@ module.exports = {
7979 {
8080 test: / \. css$ / ,
8181 use: [
82- ' style-loader' , {
82+ ' style-loader' ,
83+ {
8384 loader: ' css-loader' ,
8485 options: { importLoaders: 1 }
85- }, {
86+ },
87+ {
8688 loader: ' postcss-loader' ,
8789 plugins : function () {
88- return [
89- require (' precss' ),
90- require (' autoprefixer' )
91- ];
90+ return [ require (' precss' ), require (' autoprefixer' )];
9291 }
9392 }
9493 ]
@@ -203,7 +202,7 @@ or use [postcss-modules] plugin instead of `css-loader`.
203202[ cannot be used ] : https://github.com/webpack/css-loader/issues/137
204203[ CSS Modules ] : https://github.com/webpack/css-loader#css-modules
205204
206- #### JS Styles
205+ ### JS Styles
207206
208207If you want to process styles written in JavaScript
209208you can use the [ postcss-js] parser.
You can’t perform that action at this time.
0 commit comments