Skip to content

Commit 4b8b3c9

Browse files
Update doc/api/modules.md
Co-authored-by: Geoffrey Booth <[email protected]>
1 parent 9342855 commit 4b8b3c9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

doc/api/modules.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ By default, Node.js will treat the following as CommonJS modules:
9595
when the nearest parent `package.json` file contains a top-level field
9696
[`"type"`][] with a value of `"module"`.
9797

98+
See [Determining module system][] for more details.
99+
98100
Calling `require()` always use the CommonJS module loader. Calling `import()`
99101
always use the ECMAScript module loader.
100102

0 commit comments

Comments
 (0)