From 8f9b9424108dc06a9187a9d90d45d9f13dd5620b Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Tue, 27 Aug 2024 13:30:39 +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 c65a70956..4caecd12b 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=5000 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=6000 npx nx build", "start:prod": "NODE_ENV=production npx vite --host", "tsup": "npx tsup" },