diff --git a/config/webpack.config.dev.js b/config/webpack.config.dev.js index 65b3936ccb8..c37881577a5 100644 --- a/config/webpack.config.dev.js +++ b/config/webpack.config.dev.js @@ -68,7 +68,10 @@ module.exports = { { test: /\.css$/, include: srcPath, - loader: 'style!css!postcss' + // We "disable" local classes by setting the "unique" classname to the original classname, + // making it global again. + // Ref: https://github.com/facebookincubator/create-react-app/issues/90 + loader: 'style!css?localIdentName=[name]!postcss' }, { test: /\.json$/,