chore(deps): update Rspack to 2.0.0-rc.0#158
Conversation
chenjiahan
commented
Mar 31, 2026
- Update Rspack/Rsbuild to 2.0.0-rc.0
- Disable split chunks in Rsbuild to better compare the size of a single bundle
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3b6b216fa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR upgrades the benchmarking workspace’s Rspack/Rsbuild toolchain to the 2.0.0-rc.0 release candidate series and adjusts Rsbuild app configs to generate a single (non-split) bundle for easier size comparison in benchmark outputs.
Changes:
- Bump
@rspack/*and@rsbuild/*dependencies to2.0.0-rc.0(plus resulting lockfile updates). - Disable chunk splitting in Rsbuild configs for the React benchmark apps.
- Normalize the
apps/10000Rsbuildoutput.distPathformat to match the other apps.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Updates Rsbuild/Rspack versions to 2.0.0-rc.0. |
pnpm-lock.yaml |
Regenerates lockfile to reflect the dependency upgrades and transitive changes. |
apps/1000/rsbuild.config.mjs |
Disables chunk splitting for Rsbuild production builds. |
apps/3000/rsbuild.config.mjs |
Disables chunk splitting for Rsbuild production builds. |
apps/5000/rsbuild.config.mjs |
Disables chunk splitting for Rsbuild production builds. |
apps/10000/rsbuild.config.mjs |
Disables chunk splitting and aligns distPath shape with other apps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.