소스 검색

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) {
 
   webpackConfig.plugins.push(
     new CompressionWebpackPlugin({
-      asset: '[path].gz[query]',
       algorithm: 'gzip',
       test: new RegExp(
         '\\.(' + config.build.productionGzipExtensions.join('|') + ')$'