Repository navigation
chore(deps): upgrade to Rspack 2.3 and @rspack/dev-server 2.2.2 (AI-assisted) - #12794
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: 0 B Total Size: 12.1 MB ℹ️ View Unchanged
|
|
Size Change: -868 B (-0.01%) Total Size: 12.1 MB 📦 View Changed
ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
See https://rspack.rs/blog/announcing-2-3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
See https://github.com/rstackjs/rspack-dev-server/releases/tag/v2.2.2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
slorber
force-pushed
the
claude/rspack-2-3-upgrade-7d72f9
branch
from
October 29, 2026 10:54
f4380ff to
1758b12
Compare
…ack-2-3-upgrade-7d72f9 # Conflicts: # pnpm-lock.yaml
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.
Motivation
Upgrade to Rspack 2.3: SWC Next parser, lower memory usage and faster builds.
Also upgrade
@rspack/dev-serverto 2.2.2, which fixes HMR in workers.@docusaurus/coreand@docusaurus/bundlernow require@rspack/core@^2.3.0and@rspack/dev-server@^2.2.2: their publishedpackage.jsongets these ranges from the pnpm catalog.No code change is needed. The new features we could adopt (
experiments.newCache, per-loadercache: true,codeFilter) are opt-in and left for follow-up PRs.Notes:
splitChunks.dedupDepth: 1by default in production, so our client chunks can change slightly. Hence theArgoslabel.@rspack/*is already excluded from the pnpmminimumReleaseAge, so 2.3.0 can be installed on its release day.@rsdoctor/*optional peers now resolve to 2.3.0 too.Test Plan
CI. Locally: unit tests, typechecks,
pnpm lint:depsandpnpm build:website:fastpass, and HMR works inpnpm start:website.Test links
Deploy preview: https://deploy-preview-12794--docusaurus-2.netlify.app/
(AI-assisted)
🤖 Generated with Claude Code