fix[chore]: fix error when enable gzip

This commit is contained in:
Pan
2019-01-09 14:53:36 +08:00
parent 3dd29ab07a
commit 68a19d55de
2 changed files with 1 additions and 1 deletions

View File

@@ -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('|') + ')$'