Skip to content

Commit 1b74d3f

Browse files
committed
doc: fix dead links in packages.md
PR-URL: #39113 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 2d50217 commit 1b74d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ Any number of custom conditions can be set with repeat flags.
565565

566566
The `"import"`, `"require"`, `"node"` and `"default"` conditions are defined
567567
and implemented in Node.js core,
568-
[as specified above](#esm_conditional_exports).
568+
[as specified above](#packages_conditional_exports).
569569

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

0 commit comments

Comments
 (0)