{"library":"rollup-worker","title":"Rollup Worker","description":"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.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-worker"],"cli":{"name":"rollup-worker","version":null}},"imports":["npx rollup-worker -c .fssrc.js","module.exports = { ... }","const plugins = ['resolve', 'typescript'];"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// .fssrc.js\nconst { version, name, author, dependencies } = require('./package.json')\nconst banner = `/*! ${name} v${version} | MIT licensed. | by ${author} */`\n\nmodule.exports = {\n  plugins: {\n    resolve: () => ({ preferBuiltins: false }),\n    commonjs: {},\n    babel: (cfg) => ({ comments: cfg.output.format !== 'iife' }),\n    replace: { __VERSION__: version }\n  },\n  entry: [\n    {\n      input: './src/main.js',\n      plugins: ['resolve', 'commonjs', 'babel'],\n      output: [\n        { format: 'es', file: 'dist/bundle.esm.js' },\n        { format: 'cjs', file: 'dist/bundle.cjs.js', banner }\n      ]\n    }\n  ]\n}","lang":"javascript","description":"Minimal config file showing plugin aliases, per-entry overrides, and multiple output formats.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}