hfxc226 2 lat temu
rodzic
commit
97b5df5ed1
1 zmienionych plików z 1 dodań i 1 usunięć
  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
   }))
 }