Skip to content

Commit

Permalink
fix broken css module support in prod (facebook#4361)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriijas committed Apr 27, 2018
1 parent bdeb8e4 commit 35d71f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ module.exports = {
// Adds support for CSS Modules (https://github.com/css-modules/css-modules)
// using the extension .module.css
{
test: cssRegex,
test: cssModuleRegex,
loader: getStyleLoaders({
importLoaders: 1,
minimize: true,
Expand Down

0 comments on commit 35d71f2

Please sign in to comment.