docs: update split chunks related documentation#7085
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary of ChangesHello @chenjiahan, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on updating the project's documentation to reflect recent changes in how chunk splitting is configured. It ensures that all references and code examples correctly use the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request successfully updates the documentation to replace the deprecated performance.chunkSplit with the new splitChunks option. The changes are consistently applied across both English and Chinese documentation, including code examples and reference links. I've identified one minor issue in the Chinese documentation where a code comment was inadvertently changed to English. Besides this, the updates are accurate and well-executed.
Deploying rsbuild with
|
| Latest commit: |
b87a1eb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://575c971a.rsbuild-v2.pages.dev |
| Branch Preview URL: | https://split-chunks-doc-0130.rsbuild-v2.pages.dev |
There was a problem hiding this comment.
Pull request overview
Updates Rsbuild documentation to reflect the migration from legacy performance.chunkSplit to the new top-level splitChunks option and its default preset behavior.
Changes:
- Updated React/Vue plugin docs to describe split chunk behavior in terms of the
splitChunksdefault preset. - Updated CSS-in-JS (vanilla-extract) config examples to use
splitChunksinstead ofperformance.chunkSplit.override. - Removed
performance.chunkSplitlinks from the “Features” pages.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/zh/plugins/list/plugin-vue.mdx | Updates Vue plugin splitChunks description to reference the default splitChunks preset. |
| website/docs/zh/plugins/list/plugin-react.mdx | Updates React plugin splitChunks description to reference the default splitChunks preset. |
| website/docs/zh/guide/styling/css-in-js.mdx | Updates vanilla-extract example config to use top-level splitChunks. |
| website/docs/zh/guide/start/features.mdx | Removes legacy performance.chunkSplit link from the features table. |
| website/docs/en/plugins/list/plugin-vue.mdx | Updates Vue plugin splitChunks description to reference the default splitChunks preset. |
| website/docs/en/plugins/list/plugin-react.mdx | Updates React plugin splitChunks description to reference the default splitChunks preset. |
| website/docs/en/guide/styling/css-in-js.mdx | Updates vanilla-extract example config to use top-level splitChunks. |
| website/docs/en/guide/start/features.mdx | Removes legacy performance.chunkSplit link from the features table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
performance.chunkSplitto the newsplitChunksoptionperformance.chunkSplitconfigurationRelated Links
Checklist