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.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-06 16:49:20 +02:00
parent 6eec206caf
commit ffb4aa4d3a
+1
View File
@@ -69,6 +69,7 @@ export default defineConfig({
],
build: {
outDir: "build",
chunkSizeWarningLimit: 5000,
},
// prevent vite from obscuring rust errors
clearScreen: false,