rollup-plugin-add-shebang
Rollup plugin that adds shebangs to output files
Installation
As usual, run npm install --save-dev rollup-plugin-add-shebang
.
Usage
Inside your rollup.config.js to which files a shebang should be added:
// rollup.config.js; ... plugins: ...;
Advantages over other shebang plugins
- You don't have to add shebangs to your source files
- It works when using code splitting