Skip to content

fix broken link: dual package hazard #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ body:
If no custom [conditions](#conditions) are configured, the Webpack-specific
`module` condition is also included. The `module` condition is used by
package authors to provide a tree-shakable ESM alternative to a CommonJS
file without creating a [dual package hazard](https://nodejs.org/api/packages.html#dual-package-hazard).
file without creating a [dual package hazard](https://github.com/nodejs/package-examples?tab=readme-ov-file#dual-package-hazard).
You can prevent the `module` condition from being included by explicitly
configuring some custom conditions (even an empty list).
</p>
Expand Down Expand Up @@ -1128,7 +1128,7 @@ body:
If no custom [conditions](#conditions) are configured, the Webpack-specific
`module` condition is also included. The `module` condition is used by
package authors to provide a tree-shakable ESM alternative to a CommonJS
file without creating a [dual package hazard](https://nodejs.org/api/packages.html#dual-package-hazard).
file without creating a [dual package hazard](https://github.com/nodejs/package-examples?tab=readme-ov-file#dual-package-hazard).
You can prevent the `module` condition from being included by explicitly
configuring some custom conditions (even an empty list).
</p>
Expand Down