Skip to content

The open alternative to Salesforce, designed for AI.

Fix restrictive javascript heap memory

Charles Bochetbf7c4a5a8962
diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json
index b9f9b4a4590..a8ebd5fc93b 100644
--- a/packages/twenty-front/package.json
+++ b/packages/twenty-front/package.json
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"build": "npx vite build && sh ./scripts/inject-runtime-env.sh",
- "build:sourcemaps": "VITE_BUILD_SOURCEMAP=true NODE_OPTIONS=--max-old-space-size=3000 npx nx build",
+ "build:sourcemaps": "VITE_BUILD_SOURCEMAP=true NODE_OPTIONS=--max-old-space-size=4096 npx nx build",
"start:prod": "NODE_ENV=production npx vite --host",
"tsup": "npx tsup"
},