forked from AkkomaGang/admin-fe
fix[chore]: fix error when enable gzip
This commit is contained in:
parent
3dd29ab07a
commit
68a19d55de
2 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,6 @@ if (config.build.productionGzip) {
|
|||
|
||||
webpackConfig.plugins.push(
|
||||
new CompressionWebpackPlugin({
|
||||
asset: '[path].gz[query]',
|
||||
algorithm: 'gzip',
|
||||
test: new RegExp(
|
||||
'\\.(' + config.build.productionGzipExtensions.join('|') + ')$'
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
"babel-preset-env": "1.7.0",
|
||||
"babel-preset-stage-2": "6.24.1",
|
||||
"chalk": "2.4.1",
|
||||
"compression-webpack-plugin": "2.0.0",
|
||||
"copy-webpack-plugin": "4.5.2",
|
||||
"cross-env": "5.2.0",
|
||||
"css-loader": "1.0.0",
|
||||
|
|
Loading…
Reference in a new issue