From cc36849ca84816940b1c4070edc7f4297163733a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Cederstr=C3=B6m?= Date: Fri, 27 Apr 2018 08:04:51 +0200 Subject: [PATCH] fix broken css module support in prod (#4361) --- packages/react-scripts/config/webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index e05c8ae0cb4..c8d1f3b13d9 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -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,