fix[chore]: fix error when enable gzip
This commit is contained in:
@@ -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('|') + ')$'
|
||||
|
Reference in New Issue
Block a user