diff --git a/doc/api/packages.md b/doc/api/packages.md index d00eaeaf9df675..429b1b19b90801 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -1012,7 +1012,7 @@ added: v0.4.0 The `"main"` field defines the entry point of a package when imported by name via a `node_modules` lookup. Its value is a path. -The [`"exports"`][] field, if it exists, takes precedence over the +The [`"exports"`][] field, if it exists, takes precedence over the `"main"` field when importing the package by name. It also defines the script that is used when the [package directory is loaded