From ad3f18c0dd0080e3ac5dd938f372ba3cb95db65f Mon Sep 17 00:00:00 2001 From: vsavkin Date: Wed, 6 Jul 2016 11:03:10 -0700 Subject: [PATCH] chore(build): update build script to increase node's heap size --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 388c7ef079..c8d7bc1371 100755 --- a/build.sh +++ b/build.sh @@ -35,7 +35,7 @@ cd - TSCONFIG=./modules/tsconfig.json echo "====== (all)COMPILING: \$(npm bin)/tsc -p ${TSCONFIG} =====" # compile ts code -TSC="node dist/tools/@angular/tsc-wrapped/src/main" +TSC="node --max-old-space-size=3000 dist/tools/@angular/tsc-wrapped/src/main" $TSC -p modules/tsconfig.json rm -rf ./dist/packages-dist