diff --git a/vite.config.ts b/vite.config.ts index 93caff76..60413744 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -77,7 +77,7 @@ export default defineConfig({ // minify: 'terser', // 如果需要用terser混淆,可打开这两行 // terserOptions: terserOptions, rollupOptions: rollupOptions, - brotliSize: brotliSize, + reportCompressedSize: brotliSize, chunkSizeWarningLimit: chunkSizeWarningLimit } })