From ffb4aa4d3ac1aa13128db430cbc5fa7c332a4903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Tue, 6 Oct 2026 16:49:20 +0200 Subject: [PATCH] Raise the chunk size warning limit to 5 MB The 500 kB default is meant for websites, but Tauri loads the bundle from disk. The limit stays close to the main chunk's size, so we still hear about it when it grows noticeably. --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index cb715046c..b7fbffb3d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -69,6 +69,7 @@ export default defineConfig({ ], build: { outDir: "build", + chunkSizeWarningLimit: 5000, }, // prevent vite from obscuring rust errors clearScreen: false,