From 3ac75304e850401732b1a685b6a83826ae941e6aa1b30f9f8e55f3c55eb62e12 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Thu, 2 Nov 2023 10:54:52 +0000 Subject: [PATCH] Fix fix-webpack-oom.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=52 --- fix-webpack-oom.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fix-webpack-oom.patch b/fix-webpack-oom.patch index c208a6d..f12d4e3 100644 --- a/fix-webpack-oom.patch +++ b/fix-webpack-oom.patch @@ -6,8 +6,8 @@ Index: element-web-1.11.20/package.json "build:res": "ts-node scripts/copy-res.ts", "build:genfiles": "yarn build:res && yarn build:jitsi && yarn build:module_system", "build:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js", -- "build:bundle": "node --max_old_space_size=4000 --optimize_for_size $(which webpack) --progress --bail --mode production", -+ "build:bundle": "webpack --progress --bail --mode production", +- "build:bundle": "webpack --progress --bail --mode production", ++ "build:bundle": "node --max_old_space_size=4000 --optimize_for_size $(which webpack) --progress --bail --mode production", "build:bundle-stats": "webpack --progress --bail --mode production --json > webpack-stats.json", "build:module_system": "tsc --project ./tsconfig.module_system.json && node ./lib/module_system/scripts/install.js", "dist": "scripts/package.sh",