summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/esm.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 5cee9e103c..e14a9d2877 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -424,10 +424,10 @@ Node.js supports the following conditions:
* `"import"` - matched when the package is loaded via `import` or
`import()`. Can reference either an ES module or CommonJS file, as both
`import` and `import()` can load either ES module or CommonJS sources.
- _Mutually exclusive with the `"require"` condition._
+ _Always matched when the `"require"` condition is not matched._
* `"require"` - matched when the package is loaded via `require()`.
As `require()` only supports CommonJS, the referenced file must be CommonJS.
- _Mutually exclusive with the `"import"` condition._
+ _Always matched when the `"import"` condition is not matched._
* `"node"` - matched for any Node.js environment. Can be a CommonJS or ES
module file. _This condition should always come after `"import"` or
`"require"`._