File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -171,16 +171,10 @@ module.exports = function makeWebpackConfig(options) {
171
171
// Reference: https://github.com/postcss/postcss-loader
172
172
// Postprocess your css with PostCSS plugins
173
173
test : / \.css$ / ,
174
- use : ! TEST
175
- // Reference: https://github.com/webpack/extract-text-webpack-plugin
176
- // Extract css files in production builds
177
- //
178
- // Reference: https://github.com/webpack/style-loader
179
- // Use style-loader in development for hot-loading
180
- ? ExtractTextPlugin . extract ( { fallback : 'style-loader' , use : [ 'css-loader' , 'postcss-loader' ] } )
181
- // Reference: https://github.com/webpack/null-loader
182
- // Skip loading css in test mode
183
- : 'null-loader'
174
+ use : [ 'raw-loader' , 'css-loader' , 'postcss-loader' ] ,
175
+ include : [
176
+ path . resolve ( __dirname , 'client' )
177
+ ]
184
178
} < % if ( ! filters . css ) { % > , {
185
179
< % _ if ( filters . sass ) { _ % >
186
180
// SASS LOADER
You can’t perform that action at this time.
0 commit comments