From dab5e592e2555d07a28013940d31ab21a2205553 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Thu, 20 Jul 2023 16:53:40 +0530 Subject: [PATCH] Try to fix the TerserPlugin issue on build machines by setting --max-old-space-size to 3072 --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 9bc7f9ce0..38611cf9f 100644 --- a/web/package.json +++ b/web/package.json @@ -181,7 +181,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=2048 yarn run bundle:dev", + "bundle": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=3072 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",