Back to results
caseyWebb/taskr-rollup(opens in a new tab)
Language: TypeScript
:scroll: Rollup plugin for Taskr
- stars
- 2
- watchers
- 1
- forks
- 0
- open issues
- 13
- Last updated
- 03/06/2023
Language: TypeScript
:scroll: Rollup plugin for Taskr
[![Dependency Status][david-dm-shield]][david-dm]
This plugin requires Taskr and Rollup.
$ yarn add -D taskr rollup taskr-rollup
or
$ npm install taskr rollup taskr-rollup
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"); };
All Rollup options are supported, with the exception of input.