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 @@ -565,7 +565,7 @@ Any number of custom conditions can be set with repeat flags.
565565
566566The ` "import" ` , ` "require" ` , ` "node" ` and ` "default" ` conditions are defined
567567and implemented in Node.js core,
568- [ as specified above] ( #esm_conditional_exports ) .
568+ [ as specified above] ( #packages_conditional_exports ) .
569569
570570Other condition strings are unknown to Node.js and thus ignored by default.
571571Runtimes or tools other than Node.js can use them at their discretion.
@@ -760,7 +760,7 @@ The preceding example uses explicit extensions `.mjs` and `.cjs`.
760760If your files use the ` .js ` extension, ` "type": "module" ` will cause such files
761761to be treated as ES modules, just as ` "type": "commonjs" ` would cause them
762762to be treated as CommonJS.
763- See [ Enabling] ( #esm_enabling ) .
763+ See [ Enabling] ( esm.md #esm_enabling) .
764764
765765``` cjs
766766// ./node_modules/pkg/index.cjs
You can’t perform that action at this time.
0 commit comments