element-web/fix-webpack-oom.patch
Dominik Heidler 2ed9d0421c - Version 1.11.90
##  Features
  * Docker: run as non-root (https://github.com/element-hq/element-web/pull/28849). Contributed by @richvdh.
  * Docker: allow configuration of HTTP listen port via env var (https://github.com/element-hq/element-web/pull/28840). Contributed by @richvdh.
  * Update matrix-wysiwyg to consume WASM asset (https://github.com/element-hq/element-web/pull/28838). Contributed by @t3chguy.
  * OIDC settings tweaks (https://github.com/element-hq/element-web/pull/28787). Contributed by @t3chguy.
  * Delabs native OIDC support (https://github.com/element-hq/element-web/pull/28615). Contributed by @t3chguy.
  * Move room header info button to right-most position (https://github.com/element-hq/element-web/pull/28754). Contributed by @t3chguy.
  * Enable key backup by default (https://github.com/element-hq/element-web/pull/28691). Contributed by @dbkr.
  ## 🐛 Bug Fixes
  * Fix building the automations mermaid diagram (https://github.com/element-hq/element-web/pull/28881). Contributed by @dbkr.
  * Playwright: wait for the network listener on the postgres db (https://github.com/element-hq/element-web/pull/28808). Contributed by @dbkr.
Version 1.11.89
  * No changes
  ## 🐛 Bug Fixes
  * Upgrade matrix-sdk-crypto-wasm to 1.11.0 (https://github.com/matrix-org/matrix-js-sdk/pull/4593)
  * Fix url preview display (https://github.com/element-hq/element-web/pull/28766).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-web?expand=0&rev=92
2025-01-15 14:02:09 +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",