Ninja Pumpkin Mutants

    taskr-rollup

    1.0.0 • Public • Published

    taskr-rollup

    Rollup plugin for Taskr

    NPM License Build Status Coverage Status Dependency Status

    Install

    This plugin requires Taskr and Rollup.

    $ yarn add -D taskr rollup taskr-rollup

    or

    $ npm install taskr rollup taskr-rollup

    Usage

    exports.bundle = function*(task) {
      yield task
        // bundle entry file
        .source("src/entry.js")
        .rollup({
          // configuration options, https://rollupjs.org/#configuration-files
          plugins: [require("rollup-plugin-babel")()],
          output: {
            file: "bundle.js",
            format: "es"
          }
        })
        .target("dist");
    };

    Configuration

    All Rollup options are supported, with the exception of input.

    Install

    npm i taskr-rollup

    DownloadsWeekly Downloads

    6

    Version

    1.0.0

    License

    WTFPL

    Unpacked Size

    4.36 kB

    Total Files

    4

    Last publish

    Collaborators

    • caseywebb