Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Rollup

$ rollup Community Low Risk
Rollup · Code & DevOps · MIT · macos / linux / windows

Standard ES-module bundler favored for JavaScript/TypeScript libraries and powering Vite's production builds. Supports --silent, --failAfterWarnings, and stdout output when -o/-d are omitted, though errors are plain text and --watch runs persistently.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g rollup
CLI vs MCP Decision CLI Only

Local library and ESM bundler executed directly in JavaScript/TypeScript repositories.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Clean non-interactive builds with --silent, --failAfterWarnings, and stdout output, though it lacks --json diagnostics.

  • Supports --failAfterWarnings and --silent
  • Omitting -o/-d prints bundle to stdout
Trust & Safety 21 / 25

Local bundling only with explicit output destinations, though rollup.config.* executes arbitrary JS plugin code.

  • No network/auth side effects during bundling
Setup & Portability 13 / 15

Standard npm package across macOS, Linux, and Windows on Node.js.

  • Cross-platform npm package with native Rust/Wasm parser
Utility & Efficiency 12 / 15

Premier ESM library bundler with clean tree-shaking, though plugin chains are often needed for TS/CommonJS.

  • Produces minimal, readable library bundles
Maintenance & Lineage 9 / 10

Mature, actively maintained MIT project (rollup/rollup).

  • Official rollup/rollup repository
Docs & Verifiability 7 / 10

Well-documented CLI flag reference at rollupjs.org.

  • Official CLI docs at rollupjs.org/command-line-interface

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No authentication required; reads local rollup.config.* and source files.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Rollup (rollup) Agent Rules
- Pass `--failAfterWarnings` and `--silent` on verification builds to catch unresolved imports or circular deps.
- Avoid `-w` (`--watch`) in synchronous agent commands.

Agent-Ready Command Recipes

Safe Read-Only Queries

Preview ESM bundle to stdout without writing disk
rollup src/index.js --format esm --silent

Bundles src/index.js as ESM to stdout so the agent can inspect tree-shaken output.

Controlled Writes & Previews

Build library bundle strictly from config
rollup -c rollup.config.mjs --failAfterWarnings --silent

Runs the project's Rollup build and exits non-zero if any bundle warnings occur.

Strengths for Agents

  • + --failAfterWarnings catches subtle bundle warnings cleanly in automated checks.
  • + Omitting -o/-d emits the tree-shaken bundle to stdout without touching disk.

Caveats & Pitfalls

  • ! No --json stats/diagnostic output flag built into the CLI.
  • ! Passing -w / --watch starts a persistent file watcher that blocks synchronous shells.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI