From 8e7a8e74a31591f26b0c76d2e15e8b745d9ff384 Mon Sep 17 00:00:00 2001 From: Bala Lakshmi Narayanasami Date: Tue, 19 Jul 2022 23:56:46 +0530 Subject: [PATCH] Fixing out of memory in build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4d5fde323..72135bf7e 100644 --- a/package.json +++ b/package.json @@ -196,7 +196,7 @@ "build:ci": "npm run format:check && npm run lint && npm run compile && npm run compile:strict && npm run pack:fast", "pack:prod": "webpack --mode production", "pack:fast": "webpack --mode development --progress", - "copyToConsumers": "node copyToConsumers", + "copyToConsumers": "node --max_old_space_size=4096 copyToConsumers", "test": "rimraf coverage && jest", "test:e2e": "jest -c ./jest.config.playwright.js --detectOpenHandles", "watch": "npm run start",