fix[chore]: fix error when enable gzip (#252)
Remove deprecated option causing error when building with gzip enable
This commit is contained in:
parent
5b792c6fe0
commit
11fcc07a68
@ -140,7 +140,6 @@ if (config.build.productionGzip) {
|
||||
|
||||
webpackConfig.plugins.push(
|
||||
new CompressionWebpackPlugin({
|
||||
asset: '[path].gz[query]',
|
||||
algorithm: 'gzip',
|
||||
test: new RegExp(
|
||||
'\\.(' + config.build.productionGzipExtensions.join('|') + ')$'
|
||||
|
Loading…
Reference in New Issue
Block a user