We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8c0b4 commit a386114Copy full SHA for a386114
doc/api/esm.md
@@ -84,7 +84,8 @@ If the nearest parent `package.json` lacks a `"type"` field, or contains
84
`"type": "commonjs"`, extensionless and `.js` files are treated as CommonJS.
85
If the volume root is reached and no `package.json` is found,
86
Node.js defers to the default, a `package.json` with no `"type"`
87
-field.
+field. "Extensionless" refers to file paths which do not contain
88
+an extension as opposed to optionally dropping a file extension in a specifier.
89
90
`import` statements of `.js` and extensionless files are treated as ES modules
91
if the nearest parent `package.json` contains `"type": "module"`.
0 commit comments