Update css loader version

This commit is contained in:
DD Liu 2019-08-06 17:45:45 -04:00
parent 8b68f9fa34
commit 4a575d381f
2 changed files with 5 additions and 4 deletions

View file

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

View file

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