0.1.0 • Published 6 years ago

rollup-plugin-exec v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
6 years ago

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({
        ....
    }))
}