From bf7c4a5a8962b031252166e25866619e00b79cce Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 30 Apr 2024 19:17:12 +0200 Subject: [PATCH] Fix restrictive javascript heap memory --- packages/twenty-front/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json index b9f9b4a45..a8ebd5fc9 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" },