Skip to content

Commit

Permalink
docs(package-json): document default main behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
klausbayrhammer committed Mar 16, 2021
1 parent 08673c3 commit 14e9d06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/configuring-npm/package-json.md
Expand Up @@ -325,6 +325,8 @@ This should be a module relative to the root of your package folder.
For most modules, it makes the most sense to have a main script and often
not much else.

If `main` is not set it defaults to `index.js` in the packages root folder.

### browser

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

0 comments on commit 14e9d06

Please sign in to comment.