We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b419bfb commit 8a38afeCopy full SHA for 8a38afe
docs/content/configuring-npm/package-json.md
@@ -325,6 +325,8 @@ This should be a module relative to the root of your package folder.
325
For most modules, it makes the most sense to have a main script and often
326
not much else.
327
328
+If `main` is not set it defaults to `index.js` in the packages root folder.
329
+
330
### browser
331
332
If your module is meant to be used client-side the browser field should be
0 commit comments