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 acc92a7 commit 993e211Copy full SHA for 993e211
1 file changed
doc/api/packages.md
@@ -1094,8 +1094,7 @@ added: v0.4.0
1094
```
1095
1096
The `"main"` field defines the script that is used when the [package directory
1097
-is loaded via `require()`](modules.md#folders-as-modules). Its value
1098
-is a path.
+is loaded](modules.md#folders-as-modules). Its value is a path.
1099
1100
```cjs
1101
require('./path/to/directory'); // This resolves to ./path/to/directory/main.js.
0 commit comments