Skip to content

Commit

Permalink
docs: add link to official Node.js docs on package.json "exports"
Browse files Browse the repository at this point in the history
… field
  • Loading branch information
samualtnorman committed Mar 30, 2024
1 parent 5be8cc1 commit d3acde9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/lib/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@ Here is an example of conditional exports:
}
```

More information on the exports field can be found
[on the Node.js Docs](https://nodejs.org/docs/latest/api/packages.html#package-entry-points)
.

### browser

If your module is meant to be used client-side the browser field should be
Expand Down

0 comments on commit d3acde9

Please sign in to comment.