hfxc226 %!s(int64=2) %!d(string=hai) anos
pai
achega
97b5df5ed1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -134,7 +134,7 @@ if (isProd()) {
     filename: '[path].gz[query]', // 提示 compression-webpack-plugin@3.0.0以上的话asset改为filename
     algorithm: 'gzip',
     test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
-    threshold: 10240,
+    threshold: 1024,
     minRatio: 0.8
   }))
 }