docs(transformer): update links to use Oxc docs#18722
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes
|
7e03bde to
d7262fe
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates user-facing transformer documentation and diagnostics to reference Oxc’s own docs instead of Babel or esbuild, and aligns snapshots and type definitions with those changes.
Changes:
- Updated TypeScript namespace-related diagnostics to mention Oxc and link to the corresponding Oxc transformer documentation.
- Updated transformer options JSDoc/Rust doc comments (TypeScript, JSX, target, define/inject, plugins, styled-components) to point to Oxc docs instead of Babel/esbuild/styled-components docs.
- Regenerated or edited semantic/snapshot files to reflect the new diagnostic messages and documentation links.
Reviewed changes
Copilot reviewed 3 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tasks/transform_conformance/snapshots/babel.snap.md |
Adjusts snapshot text for namespace diagnostics to reference Oxc and its TypeScript transformer docs. |
tasks/coverage/snapshots/semantic_typescript.snap |
Updates many TypeScript semantic error snapshots so namespace warnings now mention Oxc and link to the partial-namespace-support docs. |
tasks/coverage/snapshots/semantic_babel.snap |
Updates the Babel parser semantic snapshot for namespace-export diagnostics to the new Oxc-based wording and link. |
napi/transform/src/transformer.rs |
Adds @see links for TypeScript, JSX, target, define, inject, and plugins options pointing to the appropriate Oxc transformer docs; switches styled-components and JSX option docs to Oxc-based references and neutral wording. |
napi/transform/index.d.ts |
Mirrors the Rust-side doc changes in the published TypeScript declarations, adding Oxc doc links and removing Babel/esbuild-specific references. |
crates/oxc_transformer/src/typescript/diagnostics.rs |
Changes namespace-related diagnostics to reference Oxc and Oxc docs; introduces a small grammar issue in the new “Namespace not marked type-only declare are disabled” message. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
Updated the links to Oxc docs instead of babel and esbuild.
d7262fe to
3d01fa1
Compare
### 💥 BREAKING CHANGES - 445cb1a oxc_allocator: [**BREAKING**] Remove dangerous `Allocator` methods (#18715) (overlookmotel) ### 🚀 Features - 8670b18 parser: Error on ambient class accessor implementations (#18592) (camc314) ### 🐛 Bug Fixes - 2e34461 minifier: Prevent expression inlining into block-scoped for-in declarations (#18651) (copilot-swe-agent) ### 📚 Documentation - 3d01fa1 transformer: Update links to use Oxc docs (#18722) (sapphi-red) Co-authored-by: camc314 <[email protected]>

Updated the links to Oxc docs instead of babel and esbuild.