chore(build): update build script to increase node's heap size
This commit is contained in:
parent
39d04b4a15
commit
ad3f18c0dd
2
build.sh
2
build.sh
|
@ -35,7 +35,7 @@ cd -
|
||||||
TSCONFIG=./modules/tsconfig.json
|
TSCONFIG=./modules/tsconfig.json
|
||||||
echo "====== (all)COMPILING: \$(npm bin)/tsc -p ${TSCONFIG} ====="
|
echo "====== (all)COMPILING: \$(npm bin)/tsc -p ${TSCONFIG} ====="
|
||||||
# compile ts code
|
# 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
|
$TSC -p modules/tsconfig.json
|
||||||
|
|
||||||
rm -rf ./dist/packages-dist
|
rm -rf ./dist/packages-dist
|
||||||
|
|
Loading…
Reference in New Issue