fix[chore]: fix error when enable gzip (#252)
Remove deprecated option causing error when building with gzip enable
This commit is contained in:
		@@ -140,7 +140,6 @@ if (config.build.productionGzip) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  webpackConfig.plugins.push(
 | 
					  webpackConfig.plugins.push(
 | 
				
			||||||
    new CompressionWebpackPlugin({
 | 
					    new CompressionWebpackPlugin({
 | 
				
			||||||
      asset: '[path].gz[query]',
 | 
					 | 
				
			||||||
      algorithm: 'gzip',
 | 
					      algorithm: 'gzip',
 | 
				
			||||||
      test: new RegExp(
 | 
					      test: new RegExp(
 | 
				
			||||||
        '\\.(' + config.build.productionGzipExtensions.join('|') + ')$'
 | 
					        '\\.(' + config.build.productionGzipExtensions.join('|') + ')$'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user