Skip to content

Commit 899ba3d

Browse files
daeyeondanielleadams
authored andcommitted
doc: disambiguate native module to addon
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #45673 Refs: #44135 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 5000243 commit 899ba3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/esm.md

+3-2
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-
#### No Native Module Loading
488+
#### No Addon 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)