一覧へ戻る
lagden/rollup-plugin-widget(新しいタブで開きます)
主要言語: JavaScript
Generate app widget
- star 数
- 1
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2022/11/30
主要言語: 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