3.0.0 • Published 1 year ago

@tadashi/rollup-plugin-widget v3.0.0

Weekly downloads
40
License
MIT
Repository
github
Last release
1 year ago

rollup-plugin-widget

Generate widget file

Installation

npm i -D @tadashi/rollup-plugin-widget

API

createApp( options )

NameTypeDefaultDescription
optionsobjectSee bellowPlugin options

options

NameTypeDefaultDescription
outputstringwidget.jsOutput filename
pathstring.Path
morearray[]Anothers scripts files to import

Usage

import {rollup} from 'rollup'
import widget from 'rollup-plugin-widget'

rollup({
  entry: 'src/app.js',
  plugins: [
    widget()
  ]
}).then(/* ... */)

License

MIT