element-web/fix-webpack-oom.patch
Dominik Heidler 259c97b102 - Version 1.11.91
##  Features
  * Implement changes to memberlist from feedback (https://github.com/element-hq/element-web/pull/29029). Contributed by @MidhunSureshR.
  * Add toast for recovery keys being out of sync (https://github.com/element-hq/element-web/pull/28946). Contributed by @dbkr.
  * Refactor LegacyCallHandler event emitter to use TypedEventEmitter (https://github.com/element-hq/element-web/pull/29008). Contributed by @t3chguy.
  * Add `Recovery` section in the new user settings `Encryption` tab (https://github.com/element-hq/element-web/pull/28673). Contributed by @florianduros.
  * Retry loading chunks to make the app more resilient (https://github.com/element-hq/element-web/pull/29001). Contributed by @t3chguy.
  * Clear account idb table on logout (https://github.com/element-hq/element-web/pull/28996). Contributed by @t3chguy.
  * Implement new memberlist design with MVVM architecture  (https://github.com/element-hq/element-web/pull/28874). Contributed by @MidhunSureshR.
  ## 🐛 Bug Fixes
  * https://github.com/element-hq/element-web/pull/29035). Contributed by @RiotRobot.
  * React to MatrixEvent sender/target being updated for rendering state events (https://github.com/element-hq/element-web/pull/28947). Contributed by @t3chguy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=93
2025-02-01 10:52:25 +00:00

12 lines
823 B
Diff

--- 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 @@
"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",