Bläddra i källkod

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

Remove deprecated option causing error when building with gzip enable
De Oliveira Tristan 6 år sedan
förälder
incheckning
11fcc07a68
1 ändrade filer med 0 tillägg och 1 borttagningar
  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('|') + ')$'