feat: support Rspack 2 alongside Rspack 1 - #1412
Draft
dannyhw wants to merge 1 commit into
Draft
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dannyhw
force-pushed
the
dannyhw/rspack-2-support
branch
from
July 26, 2026 20:28
e391a49 to
27fdee9
Compare
This was referenced Jul 26, 2026
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
Tracks Rspack 2 support on a dedicated feature branch while keeping Rspack 1 and webpack working from the same Re.Pack release.
Incremental implementation PRs merge into
dannyhw/rspack-2-supportafter their own review. When one change depends on another, it targets that prerequisite PR first; once the prerequisite lands, the dependent PR is retargeted toward the feature branch. The complete feature is verified here before this draft PR merges tomain.Technical design:
agent_context/rspackv2-jul2026/design.md.Current feature-branch state
Only the first implementation step has landed so far:
The remaining work has been reduced to four implementation PRs without folding it wholesale into this branch:
#1401 and #1402 currently target prerequisite #1397. #1404 remains on the temporary integration base until its implementation prerequisites have landed, then it will retarget to this feature branch.
Delivery flow
mainonly after the full Rspack 1, Rspack 2, and webpack validation matrix passes.Validation
The current foundations-only feature branch passes:
pnpm install --frozen-lockfilepnpm turbo run typecheck test --force— 17/17 tasks#1394 also passed its GitHub Lint, TypeScript, Tests, CodeQL, and Vercel checks before merging.
Broader dual-major validation will be recorded here as later steps land.