Skip to content

Commit 1bf4cec

Browse files
committed
docs: add ERM transform to preset-env
1 parent f675f80 commit 1bf4cec

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/plugin-transform-explicit-resource-management.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ title: "@babel/plugin-transform-explicit-resource-management"
44
sidebar_label: explicit-resource-management
55
---
66

7+
:::info
8+
This plugin is included in `@babel/preset-env`, in [ES2026](https://github.com/tc39/proposals/blob/master/finished-proposals.md).
9+
:::
10+
711
This plugin enables Babel to transform using declarations `using handler = await read();`.
812

913
## Example

docs/plugins-list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ sidebar_label: Plugins List
2424
- [throw-expressions](plugin-proposal-throw-expressions.md)
2525
- [record-and-tuple](plugin-proposal-record-and-tuple.md)
2626

27+
### ES2026
28+
29+
- [explicit-resource-management](./plugin-transform-explicit-resource-management.md)
30+
2731
### ES2025
2832

2933
- [duplicate-named-capturing-groups-regex](plugin-transform-duplicate-named-capturing-groups-regex.md)

0 commit comments

Comments
 (0)