Skip to content

Comments

docs: improve optimization.mangleExports docs#13018

Merged
chenjiahan merged 2 commits intomainfrom
mangle_exports_doc_0210
Feb 10, 2026
Merged

docs: improve optimization.mangleExports docs#13018
chenjiahan merged 2 commits intomainfrom
mangle_exports_doc_0210

Conversation

@chenjiahan
Copy link
Member

Summary

Updated the description of optimization.mangleExports to clarify its purpose and option meanings, replacing outdated values with current ones and improving explanations.

Checklist

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

Copilot AI review requested due to automatic review settings February 10, 2026 03:12
@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Feb 10, 2026
@cloudflare-workers-and-pages
Copy link

Deploying rspack with  Cloudflare Pages  Cloudflare Pages

Latest commit: 71b8f7a
Status: ✅  Deploy successful!
Preview URL: https://498d9e19.rspack-v2.pages.dev
Branch Preview URL: https://mangle-exports-doc-0210.rspack-v2.pages.dev

View logs

Copy link
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 updates the documentation for optimization.mangleExports (EN/ZH) to better reflect current option semantics and adds minor clarity tweaks to performance hint docs.

Changes:

  • Refreshed optimization.mangleExports docs: updated supported values and added concrete examples (EN/ZH).
  • Minor wording improvements in performance docs (EN/ZH).

Reviewed changes

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

File Description
website/docs/zh/config/performance.mdx Clarifies what “entrypoint total size” means in the performance budget text.
website/docs/zh/config/optimization.mdx Updates optimization.mangleExports explanation/table and adds examples.
website/docs/en/config/performance.mdx Minor wording/grammar tweak for performance hints and entrypoint size wording.
website/docs/en/config/optimization.mdx Updates optimization.mangleExports explanation/table and adds examples.

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

@chenjiahan chenjiahan merged commit 721bd74 into main Feb 10, 2026
23 checks passed
@chenjiahan chenjiahan deleted the mangle_exports_doc_0210 branch February 10, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant