8000 docs(node-resolve): correct mainFields valid values (#469) · rollup/plugins@058d4a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 058d4a4

Browse files
authored
docs(node-resolve): correct mainFields valid values (#469)
1 parent d3aae89 commit 058d4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/node-resolve/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Locks the module search within specified path (e.g. chroot). Modules defined out
107107

108108
Type: `Array[...String]`<br>
109109
Default: `['module', 'main']`<br>
110-
Valid values: `['browser', 'jsnext', 'module', 'main']`
110+
Valid values: `['browser', 'jsnext:main', 'module', 'main']`
111111

112112
Specifies the properties to scan within a `package.json`, used to determine the bundle entry point. The order of property names is significant, as the first-found property is used as the resolved entry point. If the array contains `'browser'`, key/values specified in the `package.json` `browser` property will be used.
113113

0 commit comments

Comments
 (0)
0