Test revert css loader update

This commit is contained in:
DD Liu 2019-07-31 13:41:20 -04:00
parent 608b470100
commit 3e08fa5500
2 changed files with 4 additions and 5 deletions

View file

@ -58,7 +58,7 @@
"babel-preset-env": "^1.6.1", "babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.22.0", "babel-preset-react": "^6.22.0",
"canvas-prebuilt": "^1.6.11", "canvas-prebuilt": "^1.6.11",
"css-loader": "3.1.0", "css-loader": "1.0.0",
"enzyme": "^3.6.0", "enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0", "enzyme-adapter-react-16": "^1.5.0",
"eslint": "^4.4.1", "eslint": "^4.4.1",

View file

@ -30,11 +30,10 @@ const base = {
}, { }, {
loader: 'css-loader', loader: 'css-loader',
options: { options: {
modules: true,
importLoaders: 1, importLoaders: 1,
modules: { localIdentName: '[name]_[local]_[hash:base64:5]',
localIdentName: '[name]_[local]_[hash:base64:5]' camelCase: true
},
localsConvention: 'camelCase'
} }
}, { }, {
loader: 'postcss-loader', loader: 'postcss-loader',