Skip to content

Commit f49261b

Browse files
authored
docs(node-resolve): Document how to get Node.js exports resolution (#884)
This has caused a bit of confusion in uuidjs/uuid#544.
1 parent db4a3f2 commit f49261b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/node-resolve/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ When using `@rollup/plugin-commonjs` v16 or higher, this plugin will use the `['
5959

6060
Setting this option will add extra conditions on top of the default conditions. See https://nodejs.org/api/packages.html#packages_conditional_exports for more information.
6161

62+
In order to get the [resolution behavior of Node.js](https://nodejs.org/api/packages.html#packages_conditional_exports), set this to `['node']`.
63+
6264
### `browser`
6365

6466
Type: `Boolean`<br>

0 commit comments

Comments
 (0)