Merge pull request #894 from fsih/cssLoader

Update css loader version
This commit is contained in:
DD Liu 2019-08-07 10:24:02 -04:00 committed by GitHub
commit 2358b41c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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": "^1.6.11",
"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',