Skip to content

Commit 4896028

Browse files
committed
MOBILE-3947 ng: Increase build memory size
1 parent eaa2130 commit 4896028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ng": "ng",
2222
"start": "ionic serve --browser=$MOODLE_APP_BROWSER --ssl",
2323
"serve:test": "NODE_ENV=testing ionic serve --no-open",
24-
"build": "ionic build --configuration=development",
24+
"build": "NODE_OPTIONS=--max-old-space-size=8192 ionic build --configuration=development",
2525
"build:prod": "NODE_ENV=production ionic build --prod",
2626
"build:test": "NODE_ENV=testing ionic build --configuration=testing",
2727
"dev:android": "concurrently \"npm run dev:android:app\" \"npm run dev:android:cordova\"",

0 commit comments

Comments
 (0)