rollup

Installation
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Bundle JavaScript libraries with tree shaking and multi-format output (ESM/CJS/UMD)
  • Configure Rollup input, output, plugins, and external dependencies
  • Optimize bundle size with code splitting and dead code elimination
  • Build libraries for npm distribution

How to use this skill

Workflow

  1. Configure — create rollup.config.js with input, output, and plugins
  2. Build — run rollup -c to generate bundles
  3. Validate — check output formats, bundle size, and tree shaking effectiveness
  4. Publish — set main, module, and exports in package.json

Quick Start Example

Installs
41
GitHub Stars
466
First Seen
Jan 24, 2026
rollup — teachingai/full-stack-skills