Skip to content

Commit

Permalink
fix: closes #118
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Aug 3, 2023
1 parent 4160031 commit 6441d5e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ Requires @riotjs/compiler > 4.x.x and Rollup v1.x.x or above.
```js
import riot from 'rollup-plugin-riot'
export default {
entry: 'src/main.js',
dest: 'dist/bundle.js',
input: 'src/main.js',
output: {
file: 'dist/bundle.js'
},
plugins: [riot()],
}
```
Expand All @@ -40,8 +42,10 @@ const options = {
ext: 'html',
}
export default {
entry: 'src/main.js',
dest: 'dist/bundle.js',
input: 'src/main.js',
output: {
file: 'dist/bundle.js'
},
plugins: [riot(options)],
}
```
Expand Down

0 comments on commit 6441d5e

Please sign in to comment.