Skip to content

Commit

Permalink
fixed: inprove options parsing #44
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Jan 10, 2021
1 parent 5e2217c commit 0f84be1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ import { watch as rollupWatch } from 'rollup'
export default async function watch(options) {
info('Watching...', options.input)

const { input , output } = options

return rollupWatch({
...options,
input,
output,
plugins: [
riot(options.riot)
],
watch: {}
})
}
}

0 comments on commit 0f84be1

Please sign in to comment.