File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ Any number of custom conditions can be set with repeat flags.
610
610
611
611
The ` "import" ` , ` "require" ` , ` "node" ` and ` "default" ` conditions are defined
612
612
and implemented in Node.js core,
613
- [ as specified above] ( #esm_conditional_exports ) .
613
+ [ as specified above] ( #packages_conditional_exports ) .
614
614
615
615
Other condition strings are unknown to Node.js and thus ignored by default.
616
616
Runtimes or tools other than Node.js can use them at their discretion.
@@ -805,7 +805,7 @@ The preceding example uses explicit extensions `.mjs` and `.cjs`.
805
805
If your files use the ` .js ` extension, ` "type": "module" ` will cause such files
806
806
to be treated as ES modules, just as ` "type": "commonjs" ` would cause them
807
807
to be treated as CommonJS.
808
- See [ Enabling] ( #esm_enabling ) .
808
+ See [ Enabling] ( esm.md #esm_enabling) .
809
809
810
810
``` cjs
811
811
// ./node_modules/pkg/index.cjs
You can’t perform that action at this time.
0 commit comments