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