Skip to content

Commit

Permalink
Merge pull request rstacruz#1340 from Gennnji/patch-1
Browse files Browse the repository at this point in the history
Update rollup.md
  • Loading branch information
rstacruz authored Feb 13, 2020
2 parents 5342ff4 + e5fbc75 commit ebe8a85
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rollup.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ This creates `main.js` and `vendor.js`.
#### Terminal

```bash
npm install -D rollup-plugin-json
npm install -D @rollup/plugin-json
```

#### rollup.config.js

```js
import json from 'rollup-plugin-json'
import json from '@rollup/plugin-json'

export default {
input: 'src/main.js',
Expand All @@ -97,12 +97,12 @@ export default {

#### Terminal
```bash
npm install --save-dev rollup-plugin-node-resolve
npm install -D @rollup/plugin-node-resolve
```

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

export default {
input: 'src/main.js',
Expand All @@ -121,13 +121,13 @@ When you run a npm run build, no warning is emitted and contains the imported mo
#### Terminal

```bash
npm install -D rollup-plugin-node-resolve
npm install -D @rollup/plugin-node-resolve
```

#### rollup.config.js

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

export default {
input: 'src/main.js',
Expand Down Expand Up @@ -157,7 +157,7 @@ npm install -D rollup-plugin-babel
#### rollup.config.js

```js
import resolve from 'rollup-plugin-node-resolve'
import resolve from '@rollup/plugin-node-resolve'
import babel from 'rollup-plugin-babel'

export default {
Expand Down

0 comments on commit ebe8a85

Please sign in to comment.