From 9642b63eaebfc6e27138773511aab76048a78efb Mon Sep 17 00:00:00 2001 From: Valeriy S Date: Wed, 16 Jan 2019 14:29:03 +0300 Subject: [PATCH] fix(client): increase node memory for workers' build --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 5ad9dd8600..6549d18aef 100644 --- a/client/package.json +++ b/client/package.json @@ -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'",