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 1bffa4c commit 9e9caeeCopy full SHA for 9e9caee
config/webpack.config.dev.js
@@ -68,7 +68,10 @@ module.exports = {
68
{
69
test: /\.css$/,
70
include: srcPath,
71
- loader: 'style!css!postcss'
+ // We "disable" local classes by setting the "unique" classname to the original classname,
72
+ // making it global again.
73
+ // Ref: https://github.com/facebookincubator/create-react-app/issues/90
74
+ loader: 'style!css?localIdentName=[name]!postcss'
75
},
76
77
test: /\.json$/,
0 commit comments