A Rollup plugin to add a shebang to the top of a bundle.
Install the plugin with NPM:
npm i -D @robmarr/rollup-plugin-shebang
Add it to your rollup configuration:
#!/usr/bin/env node is added but an alternative shebang can be used by passing it as an argument.