Browse Source

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

Remove deprecated option causing error when building with gzip enable
De Oliveira Tristan 6 years ago
parent
commit
11fcc07a68
1 changed files with 0 additions and 1 deletions
  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('|') + ')$'