Skip to content

Commit 0ff384b

Browse files
guybedfordcodebytere
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 b17a83a commit 0ff384b

File tree

3 files changed

+215
-177
lines changed

3 files changed

+215
-177
lines changed

doc/api/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Enable experimental JSON support for the ES Module loader.
234234
added: v9.0.0
235235
-->
236236

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

240240
### `--experimental-modules`
@@ -1642,6 +1642,7 @@ $ node --max-old-space-size=1536 index.js
16421642
```
16431643

16441644
[Chrome DevTools Protocol]: https://chromedevtools.github.io/devtools-protocol/
1645+
[ECMAScript Module loader]: esm.md#esm_loaders
16451646
[REPL]: repl.md
16461647
[ScriptCoverage]: https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage
16471648
[Source Map]: https://sourcemaps.info/spec.html
@@ -1662,7 +1663,6 @@ $ node --max-old-space-size=1536 index.js
16621663
[debugger]: debugger.md
16631664
[debugging security implications]: https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implications
16641665
[emit_warning]: process.md#process_process_emitwarning_warning_type_code_ctor
1665-
[experimental ECMAScript Module loader]: esm.md#esm_experimental_loaders
16661666
[jitless]: https://v8.dev/blog/jitless
16671667
[libuv threadpool documentation]: https://docs.libuv.org/en/latest/threadpool.html
16681668
[remote code execution]: https://www.owasp.org/index.php/Code_Injection

0 commit comments

Comments
 (0)