Skip to content

docs: update output.module for web target#6398

Merged
chenjiahan merged 3 commits intomainfrom
output_module_1021
Oct 21, 2025
Merged

docs: update output.module for web target#6398
chenjiahan merged 3 commits intomainfrom
output_module_1021

Conversation

@chenjiahan
Copy link
Member

Summary

  • Add documentation for using ES modules format in web applications and clarify the usage for both web and node targets.
  • Update version history to reflect new web target support in v1.6.0.

Related Links

#6332

Checklist

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

Copilot AI review requested due to automatic review settings October 21, 2025 13:53
@netlify
Copy link

netlify bot commented Oct 21, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 42f9c35
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68f7920768a68e0008ad5a45
😎 Deploy Preview https://deploy-preview-6398--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: 74 (🟢 up 17 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 documentation to reflect expanded support for output.module configuration, which now works with both web and Node.js targets. The main change is promoting the web target support from experimental to stable status (v1.6.0).

Key Changes:

  • Documentation now covers both web and Node.js application scenarios for ES module output
  • Removed experimental warning for web target in the core ESM plugin
  • Added version history entry documenting web target support in v1.6.0

Reviewed Changes

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

File Description
website/docs/zh/config/output/module.mdx Added web application section, reorganized content to separate web and Node.js use cases, updated version history
website/docs/en/config/output/module.mdx English translation of the same documentation updates
packages/core/src/plugins/esm.ts Removed experimental warning for web target usage

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@chenjiahan chenjiahan merged commit b3c0a58 into main Oct 21, 2025
14 checks passed
@chenjiahan chenjiahan deleted the output_module_1021 branch October 21, 2025 14:04
@chenjiahan chenjiahan mentioned this pull request Oct 30, 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