Rollup.js plugin which adds a unix-style shebang.
npm install --save-dev rollup-plugin-shebang
Add the following code to your project's rollup.config.js
:
import shebang from 'rollup-plugin-shebang';
export default {
entry: 'index.js',
plugins: [
shebang()
]
};
MIT