Commit Graph

264 Commits (436790cfd8c6a4316899e7fd07c260332a708ef4)

Author SHA1 Message Date
Michael Telatynski 2d26c46c1c
Strip data-testid in production
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-05 10:46:39 +00:00
David Langley 855bb568b9 rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00
Johannes Marbach d3ef8ff658 Add license and copy it into bundle while making terser ignore the SDK 2023-11-22 21:04:39 +01:00
Johannes Marbach b08f83b415 Add Jitsi SDK as a static resource and set up CI to update it on change 2023-11-21 20:24:38 +01:00
Johannes Marbach 6093cd8fe8 Move worklet rule up to where it used to be 2023-11-18 21:39:17 +01:00
Johannes Marbach e2fdddaa1f Add custom loader for recorder worklet 2023-11-18 21:37:30 +01:00
Johannes Marbach 8dbefcc589 Undo auto public path disablement as it doesn't work with workers 2023-11-16 19:39:39 +01:00
Johannes Marbach a56a2268f0 Merge branch 'develop' into johannes/webpack-5 2023-11-16 19:20:22 +01:00
Johannes Marbach 710336208f Allow config.json to be missing 2023-11-16 14:45:31 +01:00
Johannes Marbach 47b37c996d Revert "Try explicitly relative path for config.json"
This reverts commit 46ecafa73b.
2023-11-16 14:44:42 +01:00
Johannes Marbach 46ecafa73b Try explicitly relative path for config.json 2023-11-16 14:42:19 +01:00
Johannes Marbach d2fa827fad Replace copy/watching of non-language assets with copy-webpack-plugin 2023-11-16 14:21:45 +01:00
Johannes Marbach 432c1d65e1 Squashed commit of the following:
commit 069c1bc833
Author: Johannes Marbach <johannesm@element.io>
Date:   Sat Nov 11 16:08:30 2023 +0100

    Replace worker-loader with built-in Webpack 5 support for web workers
2023-11-13 20:18:00 +01:00
Johannes Marbach 91f46cc8f4 Disable automatic publicPath to unbreak worklets 2023-11-12 12:23:36 +01:00
Johannes Marbach 0584c39a70 Add defaults and fix comment 2023-11-11 21:36:41 +01:00
Johannes Marbach 3e03b2ea29 Appease the linter 2023-11-09 17:05:41 +01:00
Johannes Marbach 37632d84c8 Eliminate worklet-loader 2023-11-09 16:47:01 +01:00
Johannes Marbach 42da986ed3 Only show overlay on build errors 2023-11-09 16:11:49 +01:00
Johannes Marbach ae1d21f08e Remove obsolete comment 2023-11-09 15:47:55 +01:00
Johannes Marbach 25bb2ae492 Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin 2023-11-08 09:19:20 +01:00
Johannes Marbach d8f46abd77 Appease the linter 2023-10-25 17:11:25 +02:00
Johannes Marbach 88666ee647 Also polyfill buffer and process/browser 2023-10-16 08:16:28 +02:00
Johannes Marbach 9b8d6e7607 Set context manually in NormalModuleReplacementPlugin to fix relative import paths 2023-09-29 22:02:38 +02:00
Johannes Marbach af3659a90e Update to webpack 5 2023-09-23 21:34:56 +02:00
Johannes Marbach 3d65ff06e9 Fix spaces 2023-09-22 21:03:33 +02:00
Johannes Marbach e0954f330a Update webpack-dev-server to 4.15.1 2023-09-22 20:57:00 +02:00
Johannes Marbach 218a3b478d Update webpack to 4.47.0 / webpack-cli to 4.10.0 2023-09-21 20:47:58 +02:00
Michael Telatynski c944a273d0
Convert copy-res to typescript
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:33:57 +01:00
Richard van der Hoff 00803950bf
Move the unhomoglyph data to its own file (#26095)
This solves problems wherein the javascript debugger would get confused and
show the execution point two lines away from the source.
2023-09-01 15:37:09 +01:00
Germain 1ada110fed
Make SVGR icons use forward ref (#26082) 2023-08-30 13:09:29 -04:00
Germain 19b2eded16
Fix compound external assets path in bundle (#26069) 2023-08-30 12:47:49 +01:00
Dominik Henneke 65f7545ba5
Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0 (#25986) 2023-08-18 12:03:28 +00:00
Germain c026879237
Fix path separator for Windows based systems (#25997) 2023-08-18 11:56:07 +01:00
Germain d9b4e531b0
Allow external assets loading (#25998) 2023-08-18 09:45:32 +01:00
Germain c6756ea52a
Transpile @vector-im/compound-web with babel (#25906) 2023-08-02 10:07:40 +00:00
Michael Telatynski 048d8c417d
Remove redundant dependencies (#25814) 2023-07-17 13:15:03 +01:00
Michael Telatynski bac0da3fe9
Deprecate customisations in favour of Module API (#25736) 2023-07-07 15:25:22 +01:00
renovate[bot] 945c0793b9
Update dependency @sentry/webpack-plugin to v2 (#25507)
* Update dependency @sentry/webpack-plugin to v2

* Follow migration guide

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-02 14:21:49 +01:00
Michael Telatynski 9457af27f6
Improve bundle size and add webpack-bundle-analyzer (#25337) 2023-05-12 12:13:10 +01:00
Michael Telatynski afab95288e
Improve Content-Security-Policy (#25210) 2023-04-26 14:49:35 +01:00
Michael Telatynski 66c86a6397
Revert "Strip data-testid in production builds" (#25163
This reverts commit a0791ff48f.
2023-04-20 08:58:07 +01:00
Michael Telatynski a0791ff48f
Strip data-testid in production builds (#25152) 2023-04-19 16:30:41 +01:00
Michael Telatynski d42799dc62
Update webpack hash function for greater OSSL compat (#24584) 2023-02-20 10:59:44 +00:00
Andy Balaam 8d4215557a Specify the filename for worker-loader to avoid bundling workers 2023-01-04 13:36:18 +00:00
Andy Balaam 9aa23980ba Revert "Explicitly set worker-loader's publicPath to webapp"
This reverts commit f5fea0be04.
2023-01-04 11:17:16 +00:00
Andy Balaam f5fea0be04 Explicitly set worker-loader's publicPath to webapp 2023-01-04 10:42:19 +00:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Telatynski 003fc7cdf4
Remove prop-types (#23881) 2022-12-01 11:35:19 +00:00
Michael Telatynski 3be527cac8
Deploy `develop` branch to Cloudflare Pages (#23454)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-11-08 13:27:20 +00:00
Richard van der Hoff 1b98601870
Constrain webpack config for `olm.wasm` (#23633)
I've been experimenting with loading WebAssembly into EW, for which I need to
use webpack's default wasm loader. Currently we're overriding that for *all*
files called `*.wasm`, which is too broad.

There are currently two `*.wasm` artifacts in EW: `decoderWorker.min.wasm`, and
`olm.wasm`. `decoderWorker` has its own rule, so the `*.wasm` rule is only used
for `olm.wasm`. So, let's tighten up the test for that rule so that it doesn't
catch other innocent `.wasm`s in the cross-fire.
2022-10-28 10:54:37 +01:00