From 5f51d5181e09b11132946736f730aa9fb140db02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Wed, 10 Sep 2025 17:28:26 +0200 Subject: [PATCH] Change max chunk size limit (#14398) Deploy on main is broken, this should fix it --- packages/twenty-front/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/vite.config.ts b/packages/twenty-front/vite.config.ts index e486a70dee0..f1343646ce8 100644 --- a/packages/twenty-front/vite.config.ts +++ b/packages/twenty-front/vite.config.ts @@ -46,7 +46,7 @@ export default defineConfig(({ command, mode }) => { // Please don't increase this limit for main index chunk // If it gets too big then find modules in the code base // that can be loaded lazily, there are more! - const MAIN_CHUNK_SIZE_LIMIT = 4.8 * 1024 * 1024; // 4.7MB for main index chunk + const MAIN_CHUNK_SIZE_LIMIT = 4.9 * 1024 * 1024; // 4.7MB for main index chunk const OTHER_CHUNK_SIZE_LIMIT = 5 * 1024 * 1024; // 5MB for other chunks const checkers: Checkers = {