File tree 2 files changed +2
-2
lines changed
packages/react-scripts/config
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ module.exports = {
137
137
// in development "style" loader enables hot editing of CSS.
138
138
{
139
139
test : / \. c s s $ / ,
140
- loader : 'style!css!postcss'
140
+ loader : 'style!css?importLoaders=1 !postcss'
141
141
} ,
142
142
// JSON is not enabled by default in Webpack but both Node and Browserify
143
143
// allow it implicitly so we also enable it.
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ module.exports = {
150
150
// Webpack 1.x uses Uglify plugin as a signal to minify *all* the assets
151
151
// including CSS. This is confusing and will be removed in Webpack 2:
152
152
// https://github.com/webpack/webpack/issues/283
153
- loader : ExtractTextPlugin . extract ( 'style' , 'css?-autoprefixer!postcss' )
153
+ loader : ExtractTextPlugin . extract ( 'style' , 'css?importLoaders=1& -autoprefixer!postcss' )
154
154
// Note: this won't work without `new ExtractTextPlugin()` in `plugins`.
155
155
} ,
156
156
// JSON is not enabled by default in Webpack but both Node and Browserify
You can’t perform that action at this time.
0 commit comments