Skip to content

docs: clarify unsupported options in environments config#6498

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

docs: clarify unsupported options in environments config#6498
chenjiahan merged 1 commit intomainfrom
env_options_1104

Conversation

@chenjiahan
Copy link
Member

Summary

Remove verbose environments interface definition and explicitly list unsupported options in docs.

The change makes it clearer which configurations cannot be used with multiple environments due to shared server instance constraints.

Checklist

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

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

netlify bot commented Nov 4, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit b8cad41
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/690a025d03f5ee0008264f0a
😎 Deploy Preview https://deploy-preview-6498--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: 57 (🔴 down 9 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 documentation for the environments configuration option in both English and Chinese versions. The changes improve clarity by replacing a detailed TypeScript interface definition with a more concise explanation of available options.

Key Changes:

  • Removed the verbose EnvironmentConfig TypeScript interface from the documentation
  • Added a new "Available options" section that explains EnvironmentConfig as a subset of Rsbuild configuration
  • Replaced the general tip about unsupported options with a specific list of unsupported configuration keys

Reviewed Changes

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

File Description
website/docs/en/config/environments.mdx Updated English documentation to replace interface definition with a clear list of unsupported options
website/docs/zh/config/environments.mdx Updated Chinese documentation with the same structural improvements as the English version

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

@chenjiahan chenjiahan merged commit 1cc277b into main Nov 4, 2025
18 checks passed
@chenjiahan chenjiahan deleted the env_options_1104 branch November 4, 2025 13:48
@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