From ad708c1843a13cf3c6d04cedaed1dbeb30a21b79fc379f1cebafb035db19b974 Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Wed, 6 Dec 2023 11:19:11 +0000 Subject: [PATCH] Fix patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=58 --- fix-webpack-oom.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fix-webpack-oom.patch b/fix-webpack-oom.patch index 52431fa..42762a2 100644 --- a/fix-webpack-oom.patch +++ b/fix-webpack-oom.patch @@ -1,11 +1,11 @@ ---- element-web-1.11.48/package.json 2023-11-07 16:23:24.000000000 +0100 -+++ element-web-1.11.48a/package.json 2023-11-07 19:28:10.853001362 +0100 -@@ -41,7 +41,7 @@ +--- element-web-1.11.51/package.json.old 2023-12-06 12:17:43.051457300 +0100 ++++ element-web-1.11.51/package.json 2023-12-06 12:17:48.124782822 +0100 +@@ -40,7 +40,7 @@ "build:res": "ts-node scripts/copy-res.ts", - "build:genfiles": "yarn build:res && yarn build:jitsi && yarn build:module_system", + "build:genfiles": "yarn build:res && yarn build:module_system", "build:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js", - "build:bundle": "webpack --progress --mode production", + "build:bundle": "node --max_old_space_size=4000 --optimize_for_size $(which webpack) --progress --mode production", "build:bundle-stats": "webpack --progress --mode production --json > webpack-stats.json", - "build:module_system": "tsc --project ./tsconfig.module_system.json && node ./lib/module_system/scripts/install.js", + "build:module_system": "ts-node --project ./tsconfig.module_system.json module_system/scripts/install.ts", "dist": "scripts/package.sh",