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