Skip to content

d2m#1537

Merged
thinkasany merged 7 commits into
mainfrom
dev
Jan 25, 2026
Merged

d2m#1537
thinkasany merged 7 commits into
mainfrom
dev

Conversation

@thinkasany

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 25, 2026 02:50
@vercel

vercel Bot commented Jan 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
cn-vitejs-dev Building Building Preview, Comment Jan 25, 2026 2:50am

Request Review

@thinkasany thinkasany merged commit 0f9fd56 into main Jan 25, 2026
5 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Rolldown documentation to replace references from advancedChunks to codeSplitting, reflecting an API change in Rolldown's chunking configuration.

Changes:

  • Updated migration guide to reference the new codeSplitting option instead of advancedChunks
  • Updated build guide to reference the new codeSplitting option with correct documentation links

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
guide/migration.md Updated deprecation notice for manualChunks to reference codeSplitting instead of advancedChunks
guide/build.md Updated chunking strategy section to reference codeSplitting instead of advancedChunks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread guide/migration.md
### 弃用 `build.rollupOptions.output.manualChunks` {#deprecate-build-rollupoptions-output-manualchunks}

`output.manualChunks` 选项已弃用。Rolldown 提供了更灵活的 `advancedChunks` 选项(https://rolldown.rs/reference/OutputOptions.advancedChunks)。有关 `advancedChunks` 的更多详细信息,请参阅 Rolldown 的文档:[Advanced Chunks - Rolldown](https://rolldown.rs/in-depth/advanced-chunks)。
`output.manualChunks` 选项已弃用。Rolldown 提供了更灵活的 [`codeSplitting`](https://rolldown.rs/reference/OutputOptions.codeSplitting) 选项。有关 `codeSplitting` 的更多详细信息,请参阅 Rolldown 的文档:[手动代码分割 - Rolldown](https://rolldown.rs/in-depth/advanced-chunks)。

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation link URL at the end of this line still points to the old path https://rolldown.rs/in-depth/advanced-chunks, but should be updated to https://rolldown.rs/in-depth/manual-code-splitting to match the new codeSplitting option being referenced. This inconsistency exists because the text was updated to reference codeSplitting and "手动代码分割" (manual code splitting), but the URL wasn't updated accordingly.

Suggested change
`output.manualChunks` 选项已弃用。Rolldown 提供了更灵活的 [`codeSplitting`](https://rolldown.rs/reference/OutputOptions.codeSplitting) 选项。有关 `codeSplitting` 的更多详细信息,请参阅 Rolldown 的文档:[手动代码分割 - Rolldown](https://rolldown.rs/in-depth/advanced-chunks)
`output.manualChunks` 选项已弃用。Rolldown 提供了更灵活的 [`codeSplitting`](https://rolldown.rs/reference/OutputOptions.codeSplitting) 选项。有关 `codeSplitting` 的更多详细信息,请参阅 Rolldown 的文档:[手动代码分割 - Rolldown](https://rolldown.rs/in-depth/manual-code-splitting)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants