From 78849fc513f7186f2bcd9dfcb61f8fcb700f4963 Mon Sep 17 00:00:00 2001 From: Weiko Date: Tue, 7 Jan 2025 15:53:16 +0100 Subject: [PATCH] fix inject-runtime-env command --- packages/twenty-front/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json index 831e9084b..9196a41e7 100644 --- a/packages/twenty-front/package.json +++ b/packages/twenty-front/package.json @@ -4,8 +4,8 @@ "private": true, "type": "module", "scripts": { - "build": "VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=4000 npx vite build && ./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=6000 npx vite build && ./scripts/inject-runtime-env.sh", + "build": "VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true NODE_OPTIONS=--max-old-space-size=4000 npx vite build && bash ./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=6000 npx vite build && bash ./scripts/inject-runtime-env.sh", "start:prod": "NODE_ENV=production npx vite --host", "tsup": "npx tsup" },