forked from ppfun/pixelplanet
update css-loader
This commit is contained in:
parent
9f8a2aec19
commit
8e4dfb4d45
11552
package-lock.json
generated
Normal file
11552
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -88,7 +88,6 @@
|
|||
"ws": "^7.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rimraf": "^2.6.1",
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/node": "^7.0.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||
|
@ -119,7 +118,7 @@
|
|||
"babel-loader": "^8.0.6",
|
||||
"babel-plugin-transform-react-pure-class-to-function": "^1.0.1",
|
||||
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
||||
"css-loader": "^0.28.4",
|
||||
"css-loader": "^3.4.1",
|
||||
"eslint": "^4.11.0",
|
||||
"eslint-config-airbnb": "^15.0.1",
|
||||
"eslint-config-airbnb-base": "^11.2.0",
|
||||
|
@ -132,8 +131,9 @@
|
|||
"json-loader": "^0.5.4",
|
||||
"react-hot-loader": "^4.12.14",
|
||||
"react-svg-loader": "^3.0.3",
|
||||
"sass-loader": "^7.1.0",
|
||||
"style-loader": "^0.23.1",
|
||||
"rimraf": "^2.6.1",
|
||||
"sass-loader": "^8.0.0",
|
||||
"style-loader": "^1.1.2",
|
||||
"webpack": "^4.41.0",
|
||||
"webpack-bundle-analyzer": "^3.6.0",
|
||||
"webpack-dev-middleware": "^3.7.1",
|
||||
|
|
|
@ -127,10 +127,6 @@ const config = {
|
|||
sourceMap: isDebug,
|
||||
// CSS Modules https://github.com/css-modules/css-modules
|
||||
modules: true,
|
||||
localIdentName: isDebug ? '[name]-[local]-[hash:base64:5]' : '[hash:base64:5]',
|
||||
// CSS Nano http://cssnano.co/options/
|
||||
minimize: !isDebug,
|
||||
discardComments: { removeAll: true },
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -147,9 +143,6 @@ const config = {
|
|||
sourceMap: isDebug,
|
||||
// CSS Modules https://github.com/css-modules/css-modules
|
||||
modules: false,
|
||||
// CSS Nano http://cssnano.co/options/
|
||||
minimize: !isDebug,
|
||||
discardComments: { removeAll: true },
|
||||
},
|
||||
},
|
||||
'sass-loader',
|
||||
|
@ -165,9 +158,6 @@ const config = {
|
|||
sourceMap: isDebug,
|
||||
// CSS Modules https://github.com/css-modules/css-modules
|
||||
modules: false,
|
||||
// CSS Nano http://cssnano.co/options/
|
||||
minimize: !isDebug,
|
||||
discardComments: { removeAll: true },
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue
Block a user