Rollup plugin for Taskr (v1.0.0, last released in 2019). Enables Rollup bundling inside Taskr task pipelines. Requires Taskr ^1.1.0 and Rollup 1.x. Aims to provide a simple API for Rollup integration within Taskr's generator-based flow. No active development; last commit years ago. Alternatives include using Rollup standalone or with other build tools.
npm install taskr-rollupVerified import paths — ran on the pinned version, not inferred.
Basic Taskr task that bundles src/main.js with Rollup and outputs to dist/bundle.js.
Use Rollup 1.x or migrate to another Rollup integration (e.g., directly use rollup or gulp-rollup).
Use function* (yield) instead of async/await.
Do not pass 'input' in .rollup() options; use .source() to set entry.
Upgrade taskr to >=1.1.0 and <2.0.0.
Use Rollup 1.x (e.g., `npm install rollup@1.0.0`).
Install rollup@1.x as a dev dependency: npm install rollup@1.0.0
Ensure taskr >=1.1.0 and require('taskr-rollup') is called as a function in the plugins list.Add output object: .rollup({ output: { file: 'bundle.js', format: 'cjs' } })