diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 821743a2..63a86630 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -134,15 +134,19 @@ module.exports = { cacheDirectory: true } }, + { + test: /\.css$/, + loader: 'style-loader!css-loader?importLoaders=1!postcss&modules=true&localIdentName=[name]__[local]___[hash:base64:5]' + }, // "postcss" loader applies autoprefixer to our CSS. // "css" loader resolves paths in CSS and adds assets as dependencies. // "style" loader turns CSS into JS modules that inject