From d6056755b3fe4c676cbef9f8a3541b5854ef2065 Mon Sep 17 00:00:00 2001 From: Jens L Date: Thu, 23 Feb 2023 20:45:48 +0100 Subject: [PATCH] web: give node more memory to build (#4768) it seems to sometimes fail with an OOM message --- web/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/package.json b/web/package.json index 9066fdaad..1462d968a 100644 --- a/web/package.json +++ b/web/package.json @@ -5,8 +5,8 @@ "license": "MIT", "scripts": { "extract": "lingui extract", - "build": "lingui compile && rollup -c ./rollup.config.js", - "build-proxy": "lingui compile && rollup -c ./rollup.proxy.js", + "build": "lingui compile && node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.config.js", + "build-proxy": "lingui compile && node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.proxy.js", "watch": "lingui compile && node --max-old-space-size=8192 node_modules/.bin/rollup -c -w", "lint": "eslint . --max-warnings 0 --fix", "lit-analyse": "lit-analyzer src",