Skip to content

Commit

Permalink
Update deprecated references to the node-resolve plugin in the docume…
Browse files Browse the repository at this point in the history
…ntation (#3294)
  • Loading branch information
Vlad-Shcherbina authored and lukastaegert committed Dec 22, 2019
1 parent 396f238 commit f172107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/07-tools.md
Expand Up @@ -43,17 +43,17 @@ The resulting `bundle.js` will still work in Node.js, because the `import` decla

#### rollup-plugin-node-resolve

The [rollup-plugin-node-resolve](https://github.com/rollup/rollup-plugin-node-resolve) plugin teaches Rollup how to find external modules. Install it…
The [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/master/packages/node-resolve) plugin teaches Rollup how to find external modules. Install it…

```
npm install --save-dev rollup-plugin-node-resolve
npm install --save-dev @rollup/plugin-node-resolve
```

…and add it to your config file:

```js
// rollup.config.js
import resolve from 'rollup-plugin-node-resolve';
import resolve from '@rollup/plugin-node-resolve';

export default {
input: 'src/main.js',
Expand Down

0 comments on commit f172107

Please sign in to comment.