Skip to content

Commit 1d6d4e7

Browse files
committed
increase node heap memory for ng build
1 parent 770bc9f commit 1d6d4e7

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
@@ -7,7 +7,7 @@
77
"postinstall": "node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.2.0.3-Evaluation/ide-support/yfiles-typeinfo.js','./src/yfiles-typeinfo.js')\" && node -e \"require('fs').copyFileSync('../yFiles-for-HTML-Complete-2.2.0.3-Evaluation/lib/license.json','./src/license.json')\"",
88
"ng": "ng",
99
"start": "ng serve",
10-
"build": "ng build",
10+
"build": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build",
1111
"test": "ng test",
1212
"lint": "ng lint",
1313
"e2e": "ng e2e"

0 commit comments

Comments
 (0)