From 1e740581ee3da305014b5dd2fec3fce79fb2d025 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 9 Dec 2015 19:51:10 -0800 Subject: [PATCH] build(npm_publish.sh): run gulp via node --max-old-space-size=1900 to workaround #5229 --- scripts/publish/npm_publish.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/publish/npm_publish.sh b/scripts/publish/npm_publish.sh index 551d5a39132..d20a51a104f 100755 --- a/scripts/publish/npm_publish.sh +++ b/scripts/publish/npm_publish.sh @@ -7,7 +7,9 @@ cd $ROOT_DIR gulp clean # benchpress.bundle and bundles.js will implicitly build everything we need -gulp benchpress.bundle bundles.js +# TODO: revert to normal gulp once we fix https://github.com/angular/angular/issues/5229 +# gulp benchpress.bundle bundles.js +node --max-old-space-size=1900 ./node_modules/.bin/gulp benchpress.bundle bundles.js NPM_DIR=$ROOT_DIR/dist/npm rm -fr $NPM_DIR