Skip to content

Commit 6c2659f

Browse files
daeyeontargos
authored andcommitted
doc: disambiguate native module to addon
Signed-off-by: Daeyeon Jeong <[email protected]> PR-URL: #45673 Refs: #44135 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent c5a8f9f commit 6c2659f

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
@@ -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-
#### No Native Module Loading
489+
#### No Addon 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)