mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 20:51:12 +08:00
fix broken css module support in prod (#4361)
This commit is contained in:
committed by
GitHub
parent
32eebfeb7f
commit
cc36849ca8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user