Skip to content

Comments

docs: update documentation for lazy compilation options#6495

Merged
chenjiahan merged 1 commit intomainfrom
lazy_compilation_doc_1104
Nov 4, 2025
Merged

docs: update documentation for lazy compilation options#6495
chenjiahan merged 1 commit intomainfrom
lazy_compilation_doc_1104

Conversation

@chenjiahan
Copy link
Member

Summary

  • add prefix option to lazy compilation configuration
  • clarify default behavior and how to disable lazy compilation
  • update version history with more accurate default values

Checklist

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

Copilot AI review requested due to automatic review settings November 4, 2025 02:33
@netlify
Copy link

netlify bot commented Nov 4, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 2611021
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/690965fb9815eb0007c4c775
😎 Deploy Preview https://deploy-preview-6495--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: 70 (🟢 up 11 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
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 lazy compilation documentation for both English and Chinese versions to improve clarity and completeness. The changes document new API options, clarify default behavior, and provide more detailed usage examples.

Key Changes:

  • Added documentation for the new prefix configuration option in the LazyCompilationOptions type
  • Enhanced usage instructions by clarifying default behavior and adding explicit enable/disable examples
  • Improved terminology consistency in the Chinese documentation (using "延迟编译" instead of "lazy 编译")
  • Updated version history table with more specific details about the v1.5.0 default value change

Reviewed Changes

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

File Description
website/docs/zh/config/dev/lazy-compilation.mdx Chinese documentation update: adds prefix option, clarifies default behavior, adds disable section, improves terminology consistency, and updates version history
website/docs/en/config/dev/lazy-compilation.mdx English documentation update: adds prefix option, clarifies default behavior, adds disable section, and updates version history with specific default values

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

@chenjiahan chenjiahan merged commit d23fc47 into main Nov 4, 2025
18 checks passed
@chenjiahan chenjiahan deleted the lazy_compilation_doc_1104 branch November 4, 2025 02:39
@chenjiahan chenjiahan mentioned this pull request Nov 5, 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.

1 participant