rollup-config-generator
Generate Rollup configuration files for bundling JavaScript libraries. Triggers on "create rollup config", "generate rollup configuration", "rollup setup", "library bundler config".
When & Why to Use This Skill
The Rollup Config Generator is a specialized Claude skill designed to automate the creation of optimized Rollup configuration files for JavaScript and TypeScript libraries. It streamlines the development workflow by generating production-ready rollup.config.js or .mjs files that adhere to Rollup 4.x standards, supporting multiple output formats like ESM and CJS to ensure broad compatibility.
Use Cases
- Case 1: Rapidly bootstrapping a new TypeScript library with pre-configured ESM and CJS build outputs.
- Case 2: Migrating legacy build scripts to modern Rollup 4.x configurations with appropriate plugin chains.
- Case 3: Generating standardized bundling configurations for monorepo packages to ensure consistent build artifacts across the codebase.
| name | rollup-config-generator |
|---|---|
| description | Generate Rollup configuration files for bundling JavaScript libraries. Triggers on "create rollup config", "generate rollup configuration", "rollup setup", "library bundler config". |
Rollup Config Generator
Generate Rollup configuration files for efficient library bundling.
Output Requirements
File Output: rollup.config.js or rollup.config.mjs
Format: Valid Rollup configuration
Standards: Rollup 4.x
When Invoked
Immediately generate a complete Rollup configuration with plugins for bundling libraries.
Example Invocations
Prompt: "Create rollup config for TypeScript library"
Output: Complete rollup.config.mjs with ESM and CJS outputs.