Skip to content

Commit 11fcc07

Browse files
icrotzPanJiaChen
authored andcommitted
fix[chore]: fix error when enable gzip (PanJiaChen#252)
Remove deprecated option causing error when building with gzip enable
1 parent 5b792c6 commit 11fcc07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build/webpack.prod.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ if (config.build.productionGzip) {
140140

141141
webpackConfig.plugins.push(
142142
new CompressionWebpackPlugin({
143-
asset: '[path].gz[query]',
144143
algorithm: 'gzip',
145144
test: new RegExp(
146145
'\\.(' + config.build.productionGzipExtensions.join('|') + ')$'

0 commit comments

Comments
 (0)