From 39401469fd49fc85605cfc77a2a9ab24b90483ab Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 2 May 2023 10:36:25 +0530 Subject: [PATCH] Reducing the value of 'max-old-space-size' to fix build failure. --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 04414a5e4..7aa4d3f0f 100644 --- a/web/package.json +++ b/web/package.json @@ -180,7 +180,7 @@ "bundle:watch": "yarn run linter && yarn run webpacker:watch", "bundle:dev": "yarn run linter && yarn run webpacker", "bundle:analyze": "cross-env NODE_ENV=production ANALYZE=true yarn run bundle:dev", - "bundle": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 yarn run bundle:dev", + "bundle": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 yarn run bundle:dev", "test:karma-once": "yarn run linter && yarn run karma start --single-run", "test:karma": "yarn run linter && yarn run karma start", "test:karma-coverage": "yarn run test:karma-once --reporters coverage,progress",