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\"",