Skip to content

Commit a967baf

Browse files
guybedfordBethGriggs
authored andcommitted
doc: esm docs consolidation and reordering
PR-URL: #36046 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
1 parent 42ec857 commit a967baf

File tree

3 files changed

+215
-177
lines changed

3 files changed

+215
-177
lines changed

doc/api/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Enable experimental JSON support for the ES Module loader.
218218
added: v9.0.0
219219
-->
220220

221-
Specify the `module` of a custom [experimental ECMAScript Module loader][].
221+
Specify the `module` of a custom experimental [ECMAScript Module loader][].
222222
`module` may be either a path to a file, or an ECMAScript Module name.
223223

224224
### `--experimental-modules`
@@ -1554,6 +1554,7 @@ $ node --max-old-space-size=1536 index.js
15541554
```
15551555

15561556
[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/
1557+
[ECMAScript Module loader]: esm.md#esm_loaders
15571558
[REPL]: repl.md
15581559
[ScriptCoverage]: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage
15591560
[Source Map]: https://sourcemaps.info/spec.html
@@ -1574,7 +1575,6 @@ $ node --max-old-space-size=1536 index.js
15741575
[debugger]: debugger.md
15751576
[debugging security implications]: https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implications
15761577
[emit_warning]: process.md#process_process_emitwarning_warning_type_code_ctor
1577-
[experimental ECMAScript Module loader]: esm.md#esm_experimental_loaders
15781578
[jitless]: https://v8.dev/blog/jitless
15791579
[libuv threadpool documentation]: https://docs.libuv.org/en/latest/threadpool.html
15801580
[remote code execution]: https://www.owasp.org/index.php/Code_Injection

0 commit comments

Comments
 (0)