Skip to content

docs: mention Rspack's default split chunks strategy#5821

Merged
chenjiahan merged 3 commits intomainfrom
split_chunks_docs_0812
Aug 12, 2025
Merged

docs: mention Rspack's default split chunks strategy#5821
chenjiahan merged 3 commits intomainfrom
split_chunks_docs_0812

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Added a tip to explain that Rspack's default chunk splitting rules still apply when using strategies other than all-in-one

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 12, 2025 03:02
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 12, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 35de372
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/689aaf6c2e79c00009a0ed2b
😎 Deploy Preview https://deploy-preview-5821--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76
Accessibility: 97
Best Practices: 100
SEO: 100
PWA: 60
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 adds clarifying documentation about Rspack's default chunk splitting behavior when using strategies other than all-in-one. The documentation update helps users understand that Rspack's built-in splitting rules remain active alongside the selected strategy.

  • Added tip sections in both English and Chinese documentation explaining Rspack's default splitting behavior
  • Minor improvement to wording clarity about browser caching benefits

Reviewed Changes

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

File Description
website/docs/zh/guide/optimization/code-splitting.mdx Added Chinese tip about Rspack default rules and improved caching description
website/docs/en/guide/optimization/code-splitting.mdx Added English tip about Rspack default rules and improved caching description

Comment thread website/docs/zh/guide/optimization/code-splitting.mdx Outdated
Comment thread website/docs/en/guide/optimization/code-splitting.mdx Outdated
chenjiahan and others added 2 commits August 12, 2025 11:04
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenjiahan chenjiahan merged commit bee1327 into main Aug 12, 2025
8 checks passed
@chenjiahan chenjiahan deleted the split_chunks_docs_0812 branch August 12, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants