소스 검색

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('|') + ')$'