Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update doc/api/esm.md
Co-authored-by: Geoffrey Booth <[email protected]>
  • Loading branch information
MylesBorins and GeoffreyBooth authored May 1, 2020
commit c4ec3b1a377bc36ffd53d8895509c6bbb3add088
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ The `"exports"` field provides an alternative to `"main"` where the package
main entry point can be defined while also encapsulating the package,
**preventing any other entry points besides those defined in `"exports"`**.
This encapsulation allows module authors to define a public interface for
their package
their package.

If both `"exports"` and `"main"` are defined, the `"exports"` field takes
precedence over `"main"`. It is important to note that `"exports"` are not
Expand Down