-
-
Notifications
You must be signed in to change notification settings - Fork 775
docs(ESM): add ESM guide #11344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(ESM): add ESM guide #11344
Conversation
✅ Deploy Preview for rspack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
9b0a109
to
c725692
Compare
There was a problem hiding this 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 adds comprehensive ESM (ECMAScript Modules) documentation to the Rspack project, providing guides for both Chinese and English versions that explain how to build applications and libraries with ESM output format.
- Adds detailed ESM configuration documentation with 12 key configuration options and their effects
- Provides specific examples for building both applications and libraries in ESM format
- Includes future roadmap and current limitations of ESM support in Rspack
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
File | Description |
---|---|
website/docs/zh/guide/features/esm.mdx | Adds Chinese ESM guide with configuration options, examples, and roadmap |
website/docs/en/guide/features/esm.mdx | Adds English ESM guide mirroring the Chinese version |
website/docs/zh/guide/features/_meta.json | Updates Chinese navigation to include ESM guide |
website/docs/en/guide/features/_meta.json | Updates English navigation to include ESM guide |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Fy <[email protected]>
Co-authored-by: neverland <[email protected]>
Co-authored-by: neverland <[email protected]>
Co-authored-by: neverland <[email protected]>
Co-authored-by: neverland <[email protected]>
Co-authored-by: neverland <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 awesome!
Summary
add ESM guide, @JSerFeng please take a look at the roadmap section, i'll update English version after your revision.
Related links
Checklist