element-web/fix-webpack-oom.patch

12 lines
823 B
Diff
Raw Normal View History

--- element-web-1.11.86/package.json 2024-11-19 15:23:06.000000000 +0100
+++ element-web-1.11.86/package.json 2024-11-19 22:51:41.274335024 +0100
@@ -42,7 +42,7 @@
- Version 1.11.86 ## ✨ Features * Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28419). Contributed by @t3chguy. * Let widget driver send error details (https://github.com/element-hq/element-web/pull/28357). Contributed by @AndrewFerr. * Deduplicate icons using Compound Design Tokens (https://github.com/element-hq/element-web/pull/28381). Contributed by @t3chguy. * Auto approvoce `io.element.call.reaction` capability for element call widgets (https://github.com/element-hq/element-web/pull/28401). Contributed by @toger5. * Show message type prefix in thread root \& reply previews (https://github.com/element-hq/element-web/pull/28361). Contributed by @t3chguy. * Support sending encrypted to device messages from widgets (https://github.com/element-hq/element-web/pull/28315). Contributed by @hughns. ## 🐛 Bug Fixes * Feed events to widgets as they are decrypted (even if out of order) (https://github.com/element-hq/element-web/pull/28376). Contributed by @robintown. * Handle authenticated media when downloading from ImageView (https://github.com/element-hq/element-web/pull/28379). Contributed by @t3chguy. * Ignore `m.3pid_changes` for Identity service 3PID changes (https://github.com/element-hq/element-web/pull/28375). Contributed by @t3chguy. * Fix markdown escaping wrongly passing html through (https://github.com/element-hq/element-web/pull/28363). Contributed by @t3chguy. * Remove "Upgrade your encryption" flow in `CreateSecretStorageDialog` (https://github.com/element-hq/element-web/pull/28290). Contributed by @florianduros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=88
2024-11-19 22:45:40 +01:00
"build:res": "ts-node scripts/copy-res.ts",
"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": "ts-node --project ./tsconfig.module_system.json module_system/scripts/install.ts",
"dist": "./scripts/package.sh",