Replace webpack with rspack (#35460)

Given that this bundler is almost a drop-in replacement to webpack, it
might be worth switching. So far it seems everything is working, but
more testing is needed, so I'm setting draft.

- Dev build time is reduced from 10s to 5s
- Prod build time is reduced from 16s to 10s
- JS output size is reduced from 21.3MB to 19.8MB
- CSS output size is increased from 778kB to 818kB
This commit is contained in:
silverwind
2025-09-12 21:25:59 +02:00
committed by GitHub
parent 7a474d1c95
commit 866c636f52
5 changed files with 1746 additions and 281 deletions

5
types.d.ts vendored
View File

@@ -1,8 +1,3 @@
declare module 'add-asset-webpack-plugin' {
const plugin: any;
export = plugin
}
declare module '@techknowlogick/license-checker-webpack-plugin' {
const plugin: any;
export = plugin