Skip to content

Commit

Permalink
docs(node-resolve): fix named export use in readme (#456)
Browse files Browse the repository at this point in the history
ref: #412
  • Loading branch information
heavyk authored Jul 6, 2020
1 parent 058d4a4 commit 5e518a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node-resolve/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ npm install @rollup/plugin-node-resolve --save-dev
Create a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:

```js
import resolve from '@rollup/plugin-node-resolve';
import { nodeResolve } from '@rollup/plugin-node-resolve';

export default {
input: 'src/index.js',
output: {
dir: 'output',
format: 'cjs'
},
plugins: [resolve()]
plugins: [nodeResolve()]
};
```

Expand Down

0 comments on commit 5e518a4

Please sign in to comment.