0.1.0 • Published 6 years ago
rollup-plugin-exec v0.1.0
Rollup Execute
A simple way to make executable binaries for node with Rollup
Usage
Simply include the plugin in your normal list of rollup plugins.
import { rollup } from 'rollup';
import execute from 'rollup-plugin-exec';
function build() {
return rollup({
input: 'your/input',
plugins: [
// ... some plugins,
execute()
]
})
.then(({ write }) => write({
....
}))
}
0.1.0
6 years ago