build(npm_publish.sh): run gulp via node --max-old-space-size=1900 to workaround #5229

This commit is contained in:
Igor Minar 2015-12-09 19:51:10 -08:00
parent f1741b10f2
commit 1e740581ee
1 changed files with 3 additions and 1 deletions

View File

@ -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