Better css module classnames

This commit is contained in:
Mathias Biilmann Christensen 2016-09-09 16:57:28 +02:00
parent 1065bcf0cc
commit 08596e906f

View File

@ -13,7 +13,7 @@ module.exports = {
{ test: /\.json$/, loader: 'json-loader' }, { test: /\.json$/, loader: 'json-loader' },
{ {
test: /\.css$/, test: /\.css$/,
loader: ExtractTextPlugin.extract("style", "css?modules&importLoaders=1!postcss"), loader: ExtractTextPlugin.extract("style", "css?modules&importLoaders=1&&localIdentName=cms__[name]__[local]!postcss"),
}, },
{ {
loader: 'babel', loader: 'babel',