build(npm_publish.sh): run gulp via node --max-old-space-size=1900 to workaround #5229
This commit is contained in:
parent
f1741b10f2
commit
1e740581ee
|
@ -7,7 +7,9 @@ cd $ROOT_DIR
|
||||||
|
|
||||||
gulp clean
|
gulp clean
|
||||||
# benchpress.bundle and bundles.js will implicitly build everything we need
|
# 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
|
NPM_DIR=$ROOT_DIR/dist/npm
|
||||||
rm -fr $NPM_DIR
|
rm -fr $NPM_DIR
|
||||||
|
|
Loading…
Reference in New Issue