From 48960287e5a8e769d6bdf3c924dada4a1302ef44 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 15 Feb 2024 12:05:40 +0100 Subject: [PATCH] MOBILE-3947 ng: Increase build memory size --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4dbd4f789..6de18ecb8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "ng": "ng", "start": "ionic serve --browser=$MOODLE_APP_BROWSER --ssl", "serve:test": "NODE_ENV=testing ionic serve --no-open", - "build": "ionic build --configuration=development", + "build": "NODE_OPTIONS=--max-old-space-size=8192 ionic build --configuration=development", "build:prod": "NODE_ENV=production ionic build --prod", "build:test": "NODE_ENV=testing ionic build --configuration=testing", "dev:android": "concurrently \"npm run dev:android:app\" \"npm run dev:android:cordova\"",