Commit Graph

269 Commits (35fe447aae2c74a0411c2ccf984c032eaf3649f5)

Author SHA1 Message Date
Robin 7622dd35c5 Allow Element Web to use cascade layers
This upgrades a number of PostCSS dependencies so that we can make use of cascade layers, a feature which I plan to use for theming of Compound: https://compound.element.io/?path=/docs/develop-theming--docs
2024-02-09 00:59:36 -05:00
Michael Telatynski 0aed37a2e5
Merge branch 'develop' into t3chguy/add-webpack-sentry-workaround 2024-01-22 14:51:53 +00:00
Michael Telatynski 5dd1ed9aac
Update webpack.config.js 2024-01-22 08:49:32 +00:00
Michael Telatynski 3867576137
Add workaround for webpack builds on platforms unsupported by Sentry
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 19:55:19 +00:00
Michael Telatynski e2371c0244
Remove webpack 4 hack
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 19:47:33 +00:00
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