tsdown

Bundle TypeScript and JavaScript libraries with Rolldown and generate type declarations.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Pancake-Q/claude-plugin-frontend --skill tsdown-pancake-q
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tsdown
Source: https://github.com/Pancake-Q/claude-plugin-frontend/tree/main/skills/tsdown
Command: npx skills add https://github.com/Pancake-Q/claude-plugin-frontend --skill tsdown-pancake-q

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rolldown, typescript, rollup-plugin-typescript, rollup-plugin-node-resolve, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of building TypeScript and JavaScript libraries, providing a fast and efficient bundling experience with minimal configuration.

Core Features & Use Cases

  • Blazing-fast Bundling: Utilizes Rolldown for rapid library builds.
  • Configurable Output: Supports multiple output formats including ESM, CJS, IIFE, and UMD.
  • Type Declaration Generation: Automatically generates .d.ts files for TypeScript libraries.
  • Dependency Management: Handles dependencies intelligently, providing control over bundling behavior.
  • Framework Support: Integrates with React, Vue, Solid, and Svelte for library development.
  • Use Case: If you are developing a library with TypeScript and need a fast build process with options for generating type declarations and supporting multiple frameworks, this Skill can help.

Quick Start

Install the tsdown skill using the following command: ```bash npx skills add rolldown/tsdown

Frequently Asked Questions about tsdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bundle a TypeScript library with type declaration generation?

This Skill bundles TypeScript libraries and automatically generates `.d.ts` type declaration files while outputting multiple JavaScript formats. It handles type declaration generation alongside the bundling process without requiring extra configuration.

What is the best way to speed up JavaScript library builds using Rolldown?

The best way to speed up JavaScript library builds is to use the Rolldown bundler, which provides blazing-fast build performance for TypeScript and JavaScript projects. This Skill utilizes Rolldown to streamline high-performance bundling with minimal configuration.

Can I configure multiple output formats like ESM and CJS for my JavaScript library?

Yes, you can configure multiple output formats for your JavaScript library. The bundling process supports configurable outputs including ESM, CJS, IIFE, and UMD formats to ensure broad compatibility across different JavaScript environments.

Does this TypeScript bundling process work with React and Vue?

Yes, this TypeScript bundling process works with React and Vue. It provides framework support for developing libraries with React, Vue, Solid, and Svelte, integrating seamlessly with these popular JavaScript frameworks during the build.

How do I manage dependencies when bundling a TypeScript library?

You can manage dependencies when bundling a TypeScript library through configurable bundling behaviors. This Skill handles dependencies intelligently, providing control over how external packages are resolved and included in your final library output.