ZaiZai 2 лет назад
Родитель
Сommit
7660c20c0c
2 измененных файлов с 3 добавлено и 4 удалено
  1. 1 1
      public/version.json
  2. 2 3
      vite.config.js

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20230915183252"
+  "value": "20230922101443"
 }

+ 2 - 3
vite.config.js

@@ -46,10 +46,9 @@ export default defineConfig({
                 entryFileNames: 'static/js2/[name]-[hash].js',
                 assetFileNames: 'static/[ext]/[name]-[hash].[ext]',
             },
-            brotliSize: false, // 不统计
-            target: 'esnext',
-            minify: 'esbuild', // 混淆器,terser构建后文件体积更小
         },
+        brotliSize: false, // 不统计
+        target: 'esnext',
     },
     server: {
         ...config.vite,