doc: enhance clarification about the main field

removed "this" to enhance sentence flow.

PR-URL: https://github.com/nodejs/node/pull/62302
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Mowafak Almahaini authored and GitHub committed 2026-03-19 23:33:44 +00:00
1 parent 0998c37eb6
commit f84366d339
1 file changed
+1 -1
+1 -1
View File
@@ -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.
When a package has an [`"exports"`][] field, this will take 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