macarie/bun-tsup — explained in plain English
Analysis updated 2026-08-08 · repo last pushed 2023-12-12
Fix hanging tsup builds when using the --bun flag in Bun
Bundle TypeScript libraries with tsup inside the Bun runtime without manual workarounds
Streamline developer workflows that combine Bun and tsup for faster builds
| macarie/bun-tsup | 000madz000/rfid-attendance | 0xdevalias/sparkle | |
|---|---|---|---|
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | 2023-12-12 | 2024-07-22 | 2022-06-29 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Bun runtime and tsup installed in your project.
bun-tsup is a small plugin for Bun, the fast JavaScript runtime, that makes it easier to use a popular build tool called tsup. When developers write code in TypeScript, they often need to "build" it, meaning they translate their human-readable code into a streamlined version that computers can run efficiently. This plugin helps that building process happen smoothly inside the Bun environment. Normally, if you use Bun to run a build command, everything works as expected and finishes cleanly. However, if you specifically tell Bun to use its own internal build tools, which you do by adding a --bun flag, the process gets stuck and never exits. It just hangs there, keeping the program alive even after the work is done. This project fixes that annoying behavior so the build completes and shuts down properly. This is mainly for developers who already use Bun and tsup together in their projects. For example, if you are creating a TypeScript library and you want to use tsup to package it up for distribution, you might run into this hanging issue when you try to speed things up with Bun's native build capabilities. Instead of hunting down a workaround yourself, you can use this plugin to handle it automatically. The README is extremely sparse, so it does not go into detail about how the fix actually works under the hood or what specific mechanism causes the hang in the first place. It simply presents the problem and offers this tool as the solution. The project appears to be a focused, single-purpose utility designed to eliminate one specific friction point in an otherwise smooth developer workflow.
A small Bun plugin that fixes tsup builds hanging when using Bun's native build tools. It lets TypeScript bundling complete and exit cleanly.
Mainly TypeScript. The stack also includes TypeScript, Bun, tsup.
Dormant — no commits in 2+ years (last push 2023-12-12).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.