Back to results
lagden/rollup-plugin-widget(opens in a new tab)
Language: JavaScript
Generate app widget
- stars
- 1
- watchers
- 1
- forks
- 0
- open issues
- 0
- Last updated
- 11/30/2022
Language: JavaScript
Generate app widget
Generate widget file
npm i -D @tadashi/rollup-plugin-widget
createApp( [options] )
| Name | Type | Default | Description |
|---|---|---|---|
| options | object | See bellow | Plugin options |
| Name | Type | Default | Description |
|---|---|---|---|
| output | string | widget.js | Output filename |
| path | string | . | Path |
| more | array | [] | Anothers scripts files to import |
import {rollup} from 'rollup' import widget from 'rollup-plugin-widget' rollup({ entry: 'src/app.js', plugins: [ widget() ] }).then(/* ... */)
MIT