File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -367,11 +367,12 @@ Node.js supports the following conditions out of the box:
367
367
` import() ` , or via any top-level import or resolve operation by the
368
368
ECMAScript module loader. Applies regardless of the module format of the
369
369
target file. _ Always mutually exclusive with ` "require" ` ._
370
- * ` "require" ` - matched when the package is loaded via ` require() ` .
371
- The referenced file should be loadable with ` require() ` although the condition
372
- will be matched regardless of the module format of the target file. Expected formats
373
- include CommonJS, JSON, and native addons but not ES modules as ` require() `
374
- doesn't support them. _ Always mutually exclusive with ` "import" ` ._
370
+ * ` "require" ` - matched when the package is loaded via ` require() ` . The
371
+ referenced file should be loadable with ` require() ` although the condition
372
+ will be matched regardless of the module format of the target file. Expected
373
+ formats include CommonJS, JSON, and native addons but not ES modules as
374
+ ` require() ` doesn't support them. _ Always mutually exclusive with
375
+ ` "import" ` ._
375
376
* ` "node" ` - matched for any Node.js environment. Can be a CommonJS or ES
376
377
module file. _ This condition should always come after ` "import" ` or
377
378
` "require" ` ._
You can’t perform that action at this time.
0 commit comments