Skip to content

Commit

Permalink
docs(node-resolve): Document how to get Node.js exports resolution (#884
Browse files Browse the repository at this point in the history
)

This has caused a bit of confusion in uuidjs/uuid#544.
  • Loading branch information
ctavan committed May 24, 2021
1 parent db4a3f2 commit f49261b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/node-resolve/README.md
Expand Up @@ -59,6 +59,8 @@ When using `@rollup/plugin-commonjs` v16 or higher, this plugin will use the `['

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.

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

### `browser`

Type: `Boolean`<br>
Expand Down

0 comments on commit f49261b

Please sign in to comment.