d2m#1537
Conversation
dcos: update content
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ c4022fc
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
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
codeSplittingoption instead ofadvancedChunks - Updated build guide to reference the new
codeSplittingoption 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.
| ### 弃用 `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)。 |
There was a problem hiding this comment.
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.
| `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)。 |
No description provided.