Skip to content

Conversation

fi3ework
Copy link
Member

Summary

add document for #11664

Related links

Checklist

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

docs: add parser jsx version badge
@Copilot Copilot AI review requested due to automatic review settings September 26, 2025 07:19
Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 8ec9a93
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/68d63e9513aa8b0008b65af7
😎 Deploy Preview https://deploy-preview-11767--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@Copilot 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 adds documentation for the module.parser.javascript.jsx configuration option in Rspack. The documentation explains how to enable JSX syntax parsing in the JavaScript parser when using "preserve" mode for JSX transformations.

  • Adds documentation for the new jsx boolean option under the JavaScript parser configuration
  • Provides usage examples and explains the use case for preserving JSX syntax
  • Includes appropriate warnings about the experimental nature of the feature

Reviewed Changes

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

File Description
website/docs/zh/config/module.mdx Adds Chinese documentation for the jsx parser option
website/docs/en/config/module.mdx Adds English documentation for the jsx parser option

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

@github-actions github-actions bot added release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack. labels Sep 26, 2025
@fi3ework fi3ework requested a review from chenjiahan September 26, 2025 07:20
Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@chenjiahan chenjiahan merged commit 873e2cd into main Sep 26, 2025
28 checks passed
@chenjiahan chenjiahan deleted the parser-jsx branch September 26, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants