A CLI tool that wraps Rollup with built-in plugins for simplified, zero-config bundle management across multiple entry points. Version 2.0.1, with a next tag for latest releases. Key differentiators: plugin aliases (e.g., 'resolve', 'typescript', 'babel') that auto-configure, per-entry plugin overrides via functions, and a default config file (.fssrc.js). Targets Node >=7.10.1, and supports common formats (ESM, CJS, UMD, IIFE). Less flexible than raw Rollup but reduces boilerplate for multi-bundle workflows.
npm install rollup-workerVerified import paths — ran on the pinned version, not inferred.
Minimal config file showing plugin aliases, per-entry overrides, and multiple output formats.
Install with 'npm i -g rollup-worker@latest' or just 'npm i -g rollup-worker'.
Check internal plugin mapping for each alias; override plugin config via function to control options.
Use CommonJS export: module.exports = { ... }.Inspect plugin source or log the argument: plugins: { myPlugin: (cfg) => { console.log(cfg); return {}; } }.Install the missing plugin: npm install --save-dev @rollup/plugin-node-resolve
Convert to CommonJS: replace 'export default' with 'module.exports ='.
Add 'node-builtins' to the plugins array.