Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

taskr-rollup

caseyWebb11WTFPL1.0.0

Rollup plugin for Taskr

taskr, taskr-plugin, rollup

readme

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.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.0 (2019-08-16)

⚠ BREAKING CHANGES

  • Require rollup >= v1.0.0

  • support rollup 1.X.X (707adb7)

0.0.4

Dependencies

  • Updated rollup peer and dev deps

0.0.3

Fixed

  • Documentation

0.0.2

Fixed

  • Respect output.file for file name

0.0.1

  • :tada: Initial release