The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Increase main chunk size to 6.1MB (#15667)
Thomas Trompette027e9dddd308
diff --git a/packages/twenty-front/vite.config.ts b/packages/twenty-front/vite.config.tsindex 50f324e80a1..e240e339c17 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.9 * 1024 * 1024; // 5.5MB for main index chunk+ const MAIN_CHUNK_SIZE_LIMIT = 6.1 * 1024 * 1024; // 6.1MB for main index chunkconst OTHER_CHUNK_SIZE_LIMIT = 5 * 1024 * 1024; // 5MB for other chunksconst checkers: Checkers = {