We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6727d4a commit a065ef1Copy full SHA for a065ef1
packages/react-scripts/config/webpack.config.dev.js
@@ -147,9 +147,10 @@ module.exports = function(publicPath) {
147
// "style" loader turns CSS into JS modules that inject <style> tags.
148
// In production, we use a plugin to extract that CSS to a file, but
149
// in development "style" loader enables hot editing of CSS.
150
+ // ZEAL: Add support for CSS Modules
151
{
152
test: /\.css$/,
- loader: 'style!css?importLoaders=1!postcss'
153
+ loader: 'style!css?importLoaders=1&modules=1!postcss'
154
},
155
// JSON is not enabled by default in Webpack but both Node and Browserify
156
// allow it implicitly so we also enable it.
0 commit comments