Skip to content

docs: clarify Babel syntax support - #8778

Merged
chenjiahan merged 4 commits into
mainfrom
chenjiahan/docs-plugin-guidance
Nov 2, 2026
Merged

chenjiahan merged 4 commits into
mainfrom
chenjiahan/docs-plugin-guidance

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Motivation

The Babel guide recommends an extra transform plugin just to parse private methods and contains an outdated default-plugin comment.

Changes

Explain why Babel must parse the code before SWC and when to add syntax or transform plugins. Remove the outdated default-plugin comment and keep both languages consistent.

Validation: formatting and spelling checks. The documentation build passed during the original audit.

Related PRs: #8809, #8810.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T02:13:45.906453Z 850c924 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Deploying rsbuild with  Cloudflare Pages  Cloudflare Pages

Latest commit: 118c69a
Status:⚡️  Build in progress...

View logs

@chenjiahan chenjiahan changed the title docs: clarify plugin transform behavior docs: correct Babel syntax support guidance Oct 30, 2026
@chenjiahan chenjiahan changed the title docs: correct Babel syntax support guidance docs: clarify Babel syntax support Oct 30, 2026
@chenjiahan
chenjiahan merged commit e629a81 into main Nov 2, 2026
@chenjiahan
chenjiahan deleted the chenjiahan/docs-plugin-guidance branch November 2, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址