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

Commitb8c4bff

Browse files
daeyeondanielleadams
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 parent7cb3ac6 commitb8c4bff

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
@@ -485,9 +485,9 @@ These CommonJS variables are not available in ES modules.
485485
`__filename` and`__dirname` use cases can be replicated via
486486
[`import.meta.url`][].
487487
488-
#### NoNative Module Loading
488+
#### NoAddon Loading
489489
490-
Native modules are not currently supported with ES module imports.
490+
[Addons][] are not currently supported with ES module imports.
491491
492492
They can instead be loaded with [`module.createRequire()`][] or
493493
[`process.dlopen`][].
@@ -1539,6 +1539,7 @@ success!
15391539
<!-- Note: The cjs-module-lexer link should be kept in-sync with the deps version -->
15401540
15411541
[6.1.7 Array Index]: https://tc39.es/ecma262/#integer-index
1542+
[Addons]: addons.md
15421543
[CommonJS]: modules.md
15431544
[Conditional exports]: packages.md#conditional-exports
15441545
[Core modules]: modules.md#core-modules

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp