1.0.0 • Published 5 years ago

taskr-rollup v1.0.0

Weekly downloads
1
License
WTFPL
Repository
github
Last release
5 years ago

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.

1.0.0

5 years ago

0.0.4

6 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago