diff --git a/vite.config.ts b/vite.config.ts index 1cfc4cc3..77df96d2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,6 +38,8 @@ export default defineConfig({ minify: !process.env.TAURI_DEBUG ? "esbuild" : false, // produce sourcemaps for debug builds sourcemap: !!process.env.TAURI_DEBUG, + // chunk size warning limit, default is 500kB,here set 4096KB which is 4MB + chunkSizeWarningLimit: 4096, // KB // rollup options rollupOptions: { // chunking