Skip to content
/ bunup Public

πŸ“¦ Bundles your TypeScript libraries faster than you can say "bundle"

License

Notifications You must be signed in to change notification settings

bunup/bunup

Logo

Bunup

NPM Version Built with Bun sponsor

Bunup helps you ship TypeScript/React libraries faster with great DX β€” built on Bun's native bundler.

Performance

Instant builds by design. With Bun’s native speed, builds and rebuilds are extremely quick, even in monorepos. Faster feedback loops, higher productivity, calmer flow.

πŸš€ Quick Start

Create a TypeScript file:

// src/index.ts
export function greet(name: string): string {
  return `Hello, ${name}!`;
}

Build it instantly:

bunx bunup

Outputs to dist/ with ESM and .d.ts types.

Need CommonJS too?

bunx bunup --format esm,cjs

Want to generate and sync package exports automatically?

bunx bunup --exports

Scaffold

Spin up a modern, ready-to-publish TypeScript or React component library (or a basic starter) in ~10 seconds:

bunx @bunup/cli@latest create

See more in Scaffold with Bunup.

Features

  • ⚑ Instant builds β€” lightning-fast by default
  • 🎨 CSS support out of the box β€” import CSS directly, with built-in CSS Modules support.
  • πŸ“ TypeScript declarations β€” clean, accurate .d.ts files
  • πŸͺ“ Declaration splitting β€” smaller, cleaner type bundles
  • πŸ”‹ Batteries included β€” auto-exports, unused dependency detection, and more
  • πŸ—οΈ Workspace-ready β€” build multiple packages from one config and one command

For more, see the full documentation: https://bunup.dev

πŸ“š Examples

Check out the examples directory for example usage:

❀️ Contributing

We welcome contributions! Please read the contributing guide.

Contributors

Sponsors



______ πŸˆβ€β¬› _____________

About

πŸ“¦ Bundles your TypeScript libraries faster than you can say "bundle"

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 5