Skip to content

Commit a440f6c

Browse files
committed
doc: fix dead links in packages.md
PR-URL: #39113 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent cf8536e commit a440f6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: doc/api/packages.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ Any number of custom conditions can be set with repeat flags.
610610

611611
The `"import"`, `"require"`, `"node"` and `"default"` conditions are defined
612612
and implemented in Node.js core,
613-
[as specified above](#esm_conditional_exports).
613+
[as specified above](#packages_conditional_exports).
614614

615615
Other condition strings are unknown to Node.js and thus ignored by default.
616616
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`.
805805
If your files use the `.js` extension, `"type": "module"` will cause such files
806806
to be treated as ES modules, just as `"type": "commonjs"` would cause them
807807
to 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

0 commit comments

Comments
 (0)