The Rollup Executable Plugin makes output file executable on UNIX like operating systems.
$ npm install --save-dev rollup-plugin-executable
In your rollup configuration file:
import executable from "rollup-plugin-executable"
rollup({
entry: entry,
...
plugins: [
...
executable()
]
})
Copyright 2017-2019
Sebastian Software GmbH