chore(deps): update rsbuild 2.0.7#1660
Merged
Merged
Conversation
Deploying rslib with
|
| Latest commit: |
7ad3fa0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8cfe8bf4.rslib.pages.dev |
| Branch Preview URL: | https://david-chore-deps-rsbuild-2-0.rslib.pages.dev |
chenjiahan
approved these changes
May 21, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Rsbuild/Rspack toolchain to align all Rslib packages, tests, website, and examples on @rsbuild/core ~2.0.7 (and corresponding @rspack/core/optimizer output changes), with snapshot/lockfile refreshes to reflect the new bundling output.
Changes:
- Bump
@rsbuild/coreto~2.0.7across packages/templates/tests/website/examples. - Refresh
pnpm-lock.yamlto@rsbuild/core@2.0.7and@rspack/core@2.0.4(plus related transitive updates). - Update test helpers and snapshots for the new bundler output (MF expose entry output, chunk ids, worker loader rules, define values).
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| website/package.json | Bumps website dev dependency to @rsbuild/core ~2.0.7. |
| tests/scripts/shared.ts | Ensures buildAndGetResults returns mfExposeEntry in all result shapes. |
| tests/package.json | Aligns test harness to @rsbuild/core ~2.0.7. |
| tests/integration/shims/index.test.ts | Updates expected dynamic chunk filename after optimizer changes. |
| tests/integration/node-polyfill/bundle/package.json | Bumps fixture to @rsbuild/core ~2.0.7. |
| tests/integration/node-polyfill/bundle-false/package.json | Bumps fixture to @rsbuild/core ~2.0.7. |
| tests/integration/minify/index.test.ts | Updates inline snapshots for MF expose output after optimizer changes. |
| tests/integration/format/index.test.ts | Updates inline snapshot for import.meta.url fixture output changes. |
| pnpm-lock.yaml | Refreshes lockfile for Rsbuild 2.0.7 / Rspack 2.0.4 and related packages. |
| packages/plugin-dts/package.json | Bumps dev dependency to @rsbuild/core ~2.0.7. |
| packages/create-rslib/template-storybook/vue-ts/package.json | Template dependency bump to @rsbuild/core ~2.0.7. |
| packages/create-rslib/template-storybook/vue-js/package.json | Template dependency bump to @rsbuild/core ~2.0.7. |
| packages/create-rslib/template-storybook/react-ts/package.json | Template dependency bump to @rsbuild/core ~2.0.7. |
| packages/create-rslib/template-storybook/react-js/package.json | Template dependency bump to @rsbuild/core ~2.0.7. |
| packages/core/tests/snapshots/config.test.ts.snap | Updates expected composed Rsbuild config snapshot output (new rules/defines/plugins). |
| packages/core/package.json | Bumps core dependency to @rsbuild/core ~2.0.7. |
| examples/vue-component-bundleless/package.json | Example dependency bump to @rsbuild/core ~2.0.7. |
| examples/module-federation/mf-remote/package.json | Example dependency bump to @rsbuild/core ~2.0.7. |
| examples/module-federation/mf-react-component/package.json | Example dependency bump to @rsbuild/core ~2.0.7. |
| examples/module-federation/mf-host/package.json | Example dependency bump to @rsbuild/core ~2.0.7. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update Rsbuild dependencies to 2.0.7 across Rslib packages, tests, website, and examples. This also refreshes lockfile entries and snapshots affected by the bundled Rspack 2.0.4 optimizer output, including module export inlining and chunk id changes.
Related Links
Checklist