浏览代码

fix[chore]: fix error when enable gzip (#252)

Remove deprecated option causing error when building with gzip enable
De Oliveira Tristan 6 年之前
父节点
当前提交
11fcc07a68
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      build/webpack.prod.conf.js

+ 0 - 1
build/webpack.prod.conf.js

@@ -140,7 +140,6 @@ if (config.build.productionGzip) {
140 140
 
141 141
   webpackConfig.plugins.push(
142 142
     new CompressionWebpackPlugin({
143
-      asset: '[path].gz[query]',
144 143
       algorithm: 'gzip',
145 144
       test: new RegExp(
146 145
         '\\.(' + config.build.productionGzipExtensions.join('|') + ')$'