chore(frontend): upgrade @rsbuild/core to ^2.1.6 (pulls Rspack 2.1.4)#39
Merged
Conversation
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.
摘要
将前端构建依赖
@rsbuild/core从^2.1.5升级到^2.1.6。由于 Rspack 是 Rsbuild 的传递依赖(由 Rsbuild 用~2.1.x锁版本),此升级会顺带把底层@rspack/core从 2.1.3 → 2.1.4。@rsbuild/core 2.1.5 → 2.1.6 具体变更(GitHub release 实查)
@rspack/core 2.1.3 → 2.1.4 具体变更(patch 级)
来源:v2.1.3...v2.1.4
关于「快 5 倍」的说明(纠正)
「比前版快 5 倍」并非 2.1.4 patch 的宣称。该量级的性能提升属于 Rspack 2.1 整个 minor 发布(2026-06-26):
上述均非 2.1.3→2.1.4 的增量。本 PR 是常规 patch 跟进,主要价值是保持依赖在最新稳定线、拿到 2.1.4 的 bug fixes。
验证
bun install更新 lock 至 Rsbuild 2.1.6 + Rspack 2.1.4 ✓bunx rsbuild build成功产出 client + SSR 产物(build 1.08s / 1.19s)✓改动文件
apps/frontend/package.json—@rsbuild/core^2.1.5→^2.1.6bun.lock— Rsbuild 2.1.6 + Rspack 2.1.4 锁定条目