Add back the max_old_space_size flag.

I ran into this problem (the build just hangs and times out on 
travis)trying to add a new view. It was unintentionally removed as part 
of 
https://github.com/LLK/scratch-www/pull/3137#pullrequestreview-273869913.
This commit is contained in:
picklesrus 2019-08-12 15:12:08 -04:00
parent 56a1c5cb29
commit 4bf9c7dd87

View file

@ -16,7 +16,7 @@
"test:unit:jest": "jest ./test/unit/ && jest ./test/localization/*.test.js",
"test:unit:tap": "tap ./test/{unit-legacy,localization-legacy}/*.js --no-coverage -R classic",
"test:coverage": "tap ./test/{unit-legacy,localization-legacy}/*.js --coverage --coverage-report=lcov",
"build": "npm run clean && npm run translate && webpack --bail",
"build": "npm run clean && npm run translate && NODE_OPTIONS=--max_old_space_size=8000 webpack --bail",
"clean": "rm -rf ./build && rm -rf ./intl && mkdir -p build && mkdir -p intl",
"deploy": "npm run deploy:s3 && npm run deploy:fastly",
"deploy:fastly": "node ./bin/configure-fastly.js",