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
Michael Telatynski
5d9eee8e4b
Stub out crypto imports in node ( #23506 )
2022-10-17 17:54:56 +01:00
Michael Telatynski
4b6d9a067b
Update deploy scripts for gha-webhook-listener compatibility ( #23002 )
...
* Soft fail Sentry uploads from Webpack
* Delete duplicated script
* Delint script
* Move symlink support from redeploy to deploy
2022-08-09 13:23:41 +01:00
Michael Weimann
4738dc9da2
Add webpack react-sdk resolve alias ( #22947 )
2022-07-29 11:11:11 +02:00
Germain
03cce754d4
Disallow invalid inline style comments in stylesheets ( #22930 )
2022-07-27 14:39:22 +01:00
Michael Telatynski
64ed6ebdad
Rename PostCSS files to .pcss
( #22769 )
...
* Rename PostCSS files to `.pcss`
* Make Stylelint happy
* Make Stylelint happy v2
* Update CompatibilityView.tsx
* Update res/css/structures/ErrorView.pcss
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
* Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/pcss
Conflicts:
package.json
res/css/_components.scss
res/css/structures/_NotificationPanel.pcss
res/css/views/dialogs/_SpotlightDialog.pcss
res/css/views/rooms/_EventTile.pcss
res/css/views/rooms/_ReadReceiptGroup.pcss
yarn.lock
* Only use CI_PACKAGE mode on develop, it skips minification which can find some errors
* Keep name to not break existing PRs
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-15 14:53:21 +01:00
Michael Telatynski
ca98529bd2
Improve code as per Sonar suggestions ( #22224 )
2022-05-16 16:47:12 +01:00
Travis Ralston
f7dea9421f
Merge branch 'develop' into travis/remove-skinning
2022-03-31 19:21:12 -06:00
Robin
5077157282
Remove React HMR ( #21607 )
2022-03-30 16:57:26 +01:00
Travis Ralston
5b592eca4f
Step 10.3: Use module replacement to achieve component overrides
...
This is the same system as the customisations override, however deliberately using a different JSON file to avoid conflicts.
Forks would be expected to use the customisations file, not the components file, to override/add components.
2022-03-28 13:02:50 -06:00
Travis Ralston
072f87a06a
Delete documentation relating to legacy communities ( #21385 )
...
* Remove deprecated feature_communities_v2_prototypes
* Fix typo
* Remove now-unused docs
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-22 16:48:26 -06:00
Kerry
30339bd9a3
fix webpack handling for svg imports ( #21311 )
2022-03-04 13:57:26 +01:00
Kerry
9a17a61809
add svgr loader for icons ( #21248 )
...
* add svgr loader for icons
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix config, move dep to dev
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add svg types
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add aria-hidden and role=img to svg
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make svgProps explicitly overridable
Signed-off-by: Kerry Archibald <kerrya@element.io>
* role presentatino
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-02 09:14:30 +00:00
Travis Ralston
95de708f4e
Make customisations (and general file overrides) easier to specify ( #21189 )
...
Intended for customisation endpoints - see included docs.
2022-02-24 12:52:08 -07:00
Michael Telatynski
52c86264dc
Tweak webpack config around stubbing node modules ( #21108 )
2022-02-17 09:00:45 +00:00
J. Ryan Stinnett
fa64d65e6e
Remove postcss-extend ( #21046 )
2022-02-11 14:22:56 +00:00
James Salter
cb0f9022f9
Sentry sourcemaps without CI minification ( #19602 )
...
* Revert "Revert "Update minification and sourcemap settings on CI builds for sentry (#19583 )" (#19601 )"
This reverts commit 516e38c82d
.
* Disable minification in CI as it exceeds memory limits for poor buildkite
2021-11-03 13:19:21 +00:00
James Salter
516e38c82d
Revert "Update minification and sourcemap settings on CI builds for sentry ( #19583 )" ( #19601 )
...
This reverts commit d9f72ec0b6
.
2021-11-03 13:09:25 +00:00