Breaking changes in Rsbuild v0.3.0 #1101
Replies: 5 comments 5 replies
-
Bump Rspack to v0.5.0, see: https://github.com/web-infra-dev/rspack/releases Notable changes: |
Beta Was this translation helpful? Give feedback.
-
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:
// rsbuild.config.ts
import { pluginToml } from '@rsbuild/plugin-toml';
export default {
plugins: [pluginToml()],
}
// rsbuild.config.ts
import { pluginYaml } from '@rsbuild/plugin-yaml';
export default {
plugins: [pluginYaml()],
} |
Beta Was this translation helpful? Give feedback.
-
Some JavaScript APIs have changed:
|
Beta Was this translation helpful? Give feedback.
-
Adjust default browserslist for node target, from |
Beta Was this translation helpful? Give feedback.
-
The default value of |
Beta Was this translation helpful? Give feedback.
-
This thread is used to collect planned breaking changes for Rsbuild v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions