Skip to content

Commit 6c465c8

Browse files
committed
feat: update transformer docs
1 parent b2f488f commit 6c465c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/docs/guide/usage/transformer/lowering.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const result = transform("lib.js", "const foo = a ?? b;", {
3636

3737
Oxc supports lowering the syntaxes below. Note that RegExp related transformations only transforms the RegExp literal (`/foo/v`) to use a RegExp constructor (`new RegExp('foo', 'v')`). You will need to use a polyfill together to support older browsers.
3838

39-
### ESNext
39+
### ES2026
4040

4141
- Explicit Resource Management (`using a = foo()`)
4242

@@ -59,6 +59,7 @@ Oxc supports lowering the syntaxes below. Note that RegExp related transformatio
5959

6060
- Nullish coalescing operator (`foo ?? bar`)
6161
- Optional Chaining (`foo?.bar`)
62+
- Export namespace from (`export * as foo from "bar"`)
6263

6364
### ES2019
6465

@@ -140,5 +141,3 @@ The following syntaxes are not lowered by Oxc transformer.
140141
- ES2025
141142
- RegExp Modifiers (tracked at [#11826](https://github.com/oxc-project/oxc/issues/11826))
142143
- Duplicate named capture groups (tracked at [#11827](https://github.com/oxc-project/oxc/issues/11827))
143-
- ES2020
144-
- Export namespace from (tracked at [#14257](https://github.com/oxc-project/oxc/issues/14257))

0 commit comments

Comments
 (0)