January 10, 2024
Rsbuild 0.3 version has upgraded Rspack to 0.5 and now supports Module Federation. In addition, it includes some incompatible API changes. Please refer to the current documentation for upgrading.
Bump Rspack to v0.5.0, see: Rspack 0.5 Release Announcement
Notable changes:
The need to import TOML and YAML in JS is not common, so Rsbuild core will no longer support import TOML and YAML by default in v0.3.0.
The TOML and YAML plugin will become a independent plugin:
Some JavaScript APIs have changed:
printURLs
option of rsbuild.startDevServer
is deprecated, use server.printUrls instead.logger
option of rsbuild.startDevServer
is deprecated, use logger.override() instead.node >= 14
to node >= 16
.output.distPath.server
is changed from 'bundles'
to 'server'