We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad65ea commit b490805Copy full SHA for b490805
doc/api/esm.md
@@ -629,8 +629,8 @@ node b.mjs # works
629
To customize the default module resolution, loader hooks can optionally be
630
provided via a `--experimental-loader ./loader-name.mjs` argument to Node.js.
631
632
-When hooks are used they only apply to ES module loading and not to any
633
-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.
634
635
### Hooks
636
0 commit comments