Gem 一覧へ戻る
ls-age/rollup-plugin-add-shebang(新しいタブで開きます)
主要言語: TypeScript
Rollup plugin that adds shebangs to output files
- star 数
- 12
- watcher 数
- 1
- fork 数
- 1
- issue 数
- 9
- 最終更新
- 2023/05/05
主要言語: TypeScript
Rollup plugin that adds shebangs to output files
Rollup plugin that adds shebangs to output files
As usual, run npm install --save-dev rollup-plugin-add-shebang.
Inside your rollup.config.js to which files a shebang should be added:
// rollup.config.js import shebang from 'rollup-plugin-add-shebang'; export default { ... plugins: [ shebang({ // A single or an array of filename patterns. Defaults to ['**/cli.js', '**/bin.js']. include: 'out/cli.js' // you could also 'exclude' here // or specify a special shebang (or a function returning one) using the 'shebang' option }), ], ... };