| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9e724b5 commit e254f65
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1010,7 +1010,7 @@ added: v0.4.0 | |||
| 1010 | 1010 | The `"main"` field defines the entry point of a package when imported by name | |
| 1011 | 1011 | via a `node_modules` lookup. Its value is a path. | |
| 1012 | 1012 | ||
| 1013 | - When a package has an [`"exports"`][] field, this will take precedence over the | ||
| 1013 | + The [`"exports"`][] field, if it exists, takes precedence over the | ||
| 1014 | 1014 | `"main"` field when importing the package by name. | |
| 1015 | 1015 | ||
| 1016 | 1016 | It also defines the script that is used when the [package directory is loaded | |
| Back | FazBrowse Home | New Git URL |
0 commit comments