Skip to content

Commit

Permalink
doc: fix version history for Loaders API
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#42778
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
aduh95 authored and guangwong committed Oct 10, 2022
1 parent a79f078 commit 1b3ddac
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
7 changes: 6 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,12 @@ Enable experimental `import.meta.resolve()` support.
### `--experimental-loader=module`

<!-- YAML
added: v9.0.0
added: v8.8.0
changes:
- version: v12.11.1
pr-url: https://github.com/nodejs/node/pull/29752
description: This flag was renamed from `--loader` to
`--experimental-loader`.
-->

Specify the `module` of a custom experimental [ECMAScript module loader][].
Expand Down
9 changes: 9 additions & 0 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,15 @@ of Node.js applications.
## Loaders
<!-- YAML
added: v8.8.0
changes:
- version: v16.12.0
pr-url: https://github.com/nodejs/node/pull/37468
description: Removed `getFormat`, `getSource`, `transformSource`, and
`globalPreload`; added `load` hook and `getGlobalPreload` hook.
-->
> Stability: 1 - Experimental
> This API is currently being redesigned and will still change.
Expand Down

0 comments on commit 1b3ddac

Please sign in to comment.