File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 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) {
171171 // Reference: https://github.com/postcss/postcss-loader
172172 // Postprocess your css with PostCSS plugins
173173 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+ ]
184178 } < % if ( ! filters . css ) { % > , {
185179 < % _ if ( filters . sass ) { _ % >
186180 // SASS LOADER
You can’t perform that action at this time.
0 commit comments