Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Update the documentation for the printFileSize.diff option to provide clearer explanations and examples:

Checklist

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

Copilot AI review requested due to automatic review settings December 6, 2025 13:38
@netlify
Copy link

netlify bot commented Dec 6, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 24fa143
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6934366eecdd7b00087e8e32
😎 Deploy Preview https://deploy-preview-6717--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: 67 (🔴 down 5 from production)
Accessibility: 100 (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.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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 pull request improves the documentation for the printFileSize.diff configuration option by providing more detailed explanations and examples across English and Chinese documentation files, as well as updating the TypeScript JSDoc comments.

Key Changes:

  • Enhanced explanation of how the diff feature works (snapshot recording and comparison)
  • Added comprehensive examples showing the output format with size deltas
  • Improved clarity of when the diff information becomes available (starting from second build)
  • Added version history section documenting the feature's introduction in v1.6.13

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
website/docs/en/config/performance/print-file-size.mdx Updated English documentation with clearer descriptions and examples for the diff option, including output format and snapshot storage details
website/docs/zh/config/performance/print-file-size.mdx Added complete Chinese documentation for the diff option with translated content matching the English version structure
packages/core/src/types/config.ts Enhanced JSDoc comment for the diff property with more detailed explanation of the snapshot mechanism

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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