fix(client): increase node memory for workers' build

This commit is contained in:
Valeriy S
2019-01-16 14:29:03 +03:00
committed by Stuart Taylor
parent 88273c4b1d
commit 9642b63eae

View File

@ -72,7 +72,7 @@
"scripts": {
"prebuild": "npm run build:workers && node ../tools/scripts/ensure-env.js",
"build": "node --max_old_space_size=7168 node_modules/gatsby-cli build",
"build:workers": "webpack --env.production --config ./webpack-workers.js --progress",
"build:workers": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js --progress",
"predevelop": "npm run prebuild",
"develop": "gatsby develop",
"format:gatsby": "prettier-eslint --write --trailing-comma none --single-quote './gatsby-*.js'",