NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3732 most downloaded on npm
Bundle your TypeScript library with no config, powered by esbuild
Last release 10 months ago
12 Nov 2025
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
204 releases · first in 2020
One column per quarter.
add .map suffix to sourcemap comment
Fix broken sourcemap comment generation for .css files
## 5.11.1 (2021-12-11) ### Bug Fixes * inject style in multi formats
now cjs shims should only be injected when it's actually used
types: build types for src/index.ts only
missing types in previous release
only use esm shim for node platform
add dts.banner and dts.footer options
tsup-node: don't mark compilerOptions.paths as external, closes #409
use bundle-require to bundle tsup.config.ts
add --dts-only flag to emit declarations only
custom tsconfig and allow multpile tsup config
add default loaders, closes #459
minor: support node: import in older node versions
resolve module field before main field
## 5.7.1 (2021-11-17) ### Bug Fixes * dts: use real path
config: allow conditional config (#452) docs
do not use preserveSymlinks: true when bundling dts file
Revert "fix: do not use preserveSymlinks: true when bundling dts file"
do not use preserveSymlinks: true when bundling dts file
add footer and banner options, closes #451
footer and banner options, closes #451 (1fa05c3)add --metafile flag, closes #443
regression: fix declaration file path with a single entrypoint
make declaration files work with multiple entrypoints (a4a5404), closes #316
make --define support nested properties, closes #440
drop cjs_shims if they are not used
# 5.4.0 (2021-10-07) ### Features * update esbuild to ^0.13.4
add --inject flag (f268c64), closes #390
modules should not be externalized in iife format
support named entry in api mode
make experimental cjs code splitting available behine flag --splitting (1667fd2), closes #408
only enable code splitting in esm format
cjs), code splitting with cjs format is not supported by esbuild, and our workaround is kinda buggy, so we reverted that decision.# 4.14.0 (2021-08-16) ### Features * support inline sourcemap
upgrade to rollup-plugin-dts 3.0.2 (5cac0ea), closes #368
make build option more flexible
fix config file with "type": "module" (#353) (405e165), closes #352
config: allow to export config as tsup (fc8d689), closes #351
config: support module.exports (6f6f959), closes #350
bundle config file (7d03efe), closes #346
add --pure flag (17ac44c), closes #349
# 4.12.0 (2021-06-26) ### Features * update esbuild to 0.12
## 4.11.2 (2021-06-02) ### Bug Fixes * call setSilent earlier
## 4.11.1 (2021-05-24) ### Bug Fixes * respect silent config
Improve file config load & add docs
ignore non-js files in dts build (6735402), closes #288
export main cli & add tsup-node command
mark files inside dependencies as external too
## 4.9.1 (2021-04-19) ### Bug Fixes * win: use tree-kill
improve watch mode & add silent mode
transform import.meta.url in cjs build
change default target to node12
output essential esbuild warnings
## 4.8.18 (2021-03-19) ### Bug Fixes * add ignoreWatch & docs
## 4.8.17 (2021-03-18) ### Bug Fixes * handle errors in worker
use worker thread to run rollup again
always run rollup after esbuild
use chokidar to watch files again
no longer running rollup in a worker
don't pass esbuild plugins to rollup worker
Your coding agent can read these notes before it upgrades. Set up the MCP server →