We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9636a01 commit 9a0aa62Copy full SHA for 9a0aa62
doc/api/esm.md
@@ -595,8 +595,8 @@ node b.mjs # works
595
To customize the default module resolution, loader hooks can optionally be
596
provided via a `--experimental-loader ./loader-name.mjs` argument to Node.js.
597
598
-When hooks are used they only apply to ES module loading and not to any
599
-CommonJS modules loaded.
+When hooks are used they apply to the entry point and all `import` calls. They
+won't apply to `require` calls; those still follow [CommonJS][] rules.
600
601
### Hooks
602
0 commit comments