File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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.
610610
611611The ` "import" ` , ` "require" ` , ` "node" ` and ` "default" ` conditions are defined
612612and implemented in Node.js core,
613- [ as specified above] ( #esm_conditional_exports ) .
613+ [ as specified above] ( #packages_conditional_exports ) .
614614
615615Other condition strings are unknown to Node.js and thus ignored by default.
616616Runtimes 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`.
805805If your files use the ` .js ` extension, ` "type": "module" ` will cause such files
806806to be treated as ES modules, just as ` "type": "commonjs" ` would cause them
807807to be treated as CommonJS.
808- See [ Enabling] ( #esm_enabling ) .
808+ See [ Enabling] ( esm.md #esm_enabling) .
809809
810810``` cjs
811811// ./node_modules/pkg/index.cjs
You can’t perform that action at this time.
0 commit comments