File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -424,8 +424,10 @@ Node.js supports the following conditions:
424424* ` "import" ` - matched when the package is loaded via ` import ` or
425425 ` import() ` . Can reference either an ES module or CommonJS file, as both
426426 ` import ` and ` import() ` can load either ES module or CommonJS sources.
427+ _ Always matched when the ` "require" ` condition is not matched._
427428* ` "require" ` - matched when the package is loaded via ` require() ` .
428429 As ` require() ` only supports CommonJS, the referenced file must be CommonJS.
430+ _ Always matched when the ` "import" ` condition is not matched._
429431* ` "node" ` - matched for any Node.js environment. Can be a CommonJS or ES
430432 module file. _ This condition should always come after ` "import" ` or
431433 ` "require" ` ._
You can’t perform that action at this time.
0 commit comments