Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01eec64

Browse files
daeyeonnodejs-github-bot
authored andcommitted
doc: disambiguatenative module toaddon
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>PR-URL:#45673Refs:#44135Reviewed-By: Chengzhong Wu <legendecas@gmail.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent01b7ac6 commit01eec64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎doc/api/esm.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,9 @@ These CommonJS variables are not available in ES modules.
486486
`__filename` and`__dirname` use cases can be replicated via
487487
[`import.meta.url`][].
488488
489-
#### NoNative Module Loading
489+
#### NoAddon Loading
490490
491-
Native modules are not currently supported with ES module imports.
491+
[Addons][] are not currently supported with ES module imports.
492492
493493
They can instead be loaded with [`module.createRequire()`][] or
494494
[`process.dlopen`][].
@@ -1525,6 +1525,7 @@ for ESM specifiers is [commonjs-extension-resolution-loader][].
15251525
<!-- Note: The cjs-module-lexer link should be kept in-sync with the deps version -->
15261526
15271527
[6.1.7 Array Index]: https://tc39.es/ecma262/#integer-index
1528+
[Addons]: addons.md
15281529
[CommonJS]: modules.md
15291530
[Conditional exports]: packages.md#conditional-exports
15301531
[Core modules]: modules.md#core-modules

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp