diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2021-06-22 11:40:43 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-06-23 12:02:05 +0300 |
commit | bf9ce95db77ab1e330a97530fd3d8f21dea50d3d (patch) | |
tree | 315f3619535e0551efe973e34f0ce3689beba958 /doc/api/packages.md | |
parent | e0ebc6b30d8786b236b92c832ed60403d568b750 (diff) |
doc: fix dead links in packages.md
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/packages.md')
-rw-r--r-- | doc/api/packages.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/packages.md b/doc/api/packages.md index 4e7c8691a98..cd697e9785f 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -610,7 +610,7 @@ Any number of custom conditions can be set with repeat flags. The `"import"`, `"require"`, `"node"` and `"default"` conditions are defined and implemented in Node.js core, -[as specified above](#esm_conditional_exports). +[as specified above](#packages_conditional_exports). Other condition strings are unknown to Node.js and thus ignored by default. 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`. If your files use the `.js` extension, `"type": "module"` will cause such files to be treated as ES modules, just as `"type": "commonjs"` would cause them to be treated as CommonJS. -See [Enabling](#esm_enabling). +See [Enabling](esm.md#esm_enabling). ```cjs // ./node_modules/pkg/index.cjs |