diff --git a/package.json b/package.json index 9f3966ebd..583b1648e 100644 --- a/package.json +++ b/package.json @@ -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",