rollup-plugin-cli
A rollup plugin to prefix scripts for CLI usage
Installation
$ npm install rollup-plugin-cli
Usage
By default, rollup-plugin-cli will prefix your bundle with #!/usr/bin/env node
.
; main: 'main.js' plugins: ;
If the default hashbang doesn't fit your needs, you can pass a custom value.
; main: 'main.js' plugins: ;