From c4f0292b2d9317b4927db9ce13dc074c5965b904 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Mon, 26 Aug 2024 17:22:35 +0200 Subject: [PATCH] Increase front build max memory usage for sourcemaps build --- 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 2fed328921..c65a70956d 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 VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=4096 npx nx build", + "build:sourcemaps": "VITE_BUILD_SOURCEMAP=true VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=5000 npx nx build", "start:prod": "NODE_ENV=production npx vite --host", "tsup": "npx tsup" },