Skip to content

docs: update exclude documentation to clarify priority#5900

Merged
chenjiahan merged 4 commits intomainfrom
exclude_priority_0820
Aug 21, 2025
Merged

docs: update exclude documentation to clarify priority#5900
chenjiahan merged 4 commits intomainfrom
exclude_priority_0820

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Add section about priority when both source.include and source.exclude are set
  • Explain the similarity between source.exclude and source.include

Checklist

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

Copilot AI review requested due to automatic review settings August 20, 2025 14:35
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 20, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 59eeb09
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68a683f0138e830008a503ce
😎 Deploy Preview https://deploy-preview-5900--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: 72 (🔴 down 4 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
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

Updates the documentation for source.exclude configuration to clarify its usage and priority behavior when combined with source.include. The changes make the documentation more consistent and informative for users.

  • Replaces Rspack-specific reference with a more relevant comparison to source.include
  • Adds a new "Priority" section explaining that source.exclude takes precedence over source.include
  • Provides a concrete code example demonstrating the priority behavior

Reviewed Changes

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

File Description
website/docs/zh/config/source/exclude.mdx Chinese documentation updated with priority section and improved usage description
website/docs/en/config/source/exclude.mdx English documentation updated with priority section and improved usage description

chenjiahan and others added 3 commits August 21, 2025 10:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenjiahan chenjiahan merged commit 02812ae into main Aug 21, 2025
8 checks passed
@chenjiahan chenjiahan deleted the exclude_priority_0820 branch August 21, 2025 02:29
@chenjiahan chenjiahan mentioned this pull request Aug 21, 2025
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