From 81e9a021019294eaadfea6de265181ceedc7af18 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Fri, 3 Oct 2025 17:32:21 +0200 Subject: [PATCH] Increase chunk limit (#14881) As per title --- 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 e394966e78..f05c7c7883 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 = 5.3 * 1024 * 1024; // 5.3MB for main index chunk + const MAIN_CHUNK_SIZE_LIMIT = 5.5 * 1024 * 1024; // 5.5MB for main index chunk const OTHER_CHUNK_SIZE_LIMIT = 5 * 1024 * 1024; // 5MB for other chunks const checkers: Checkers = {