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 script tag validation - by @benhoad in https://github.com/egoist/tsup/issues/1314 (df736)
Use fix-dts-default-cjs-exports to transform CJS types - by @userquin in https://github.com/egoist/tsup/issues/1310 (c654e)
fix-dts-default-cjs-exports to transform CJS types - by @userquin in https://github.com/egoist/tsup/issues/1310 <samp>(c654e)</samp>removeNodeProtocol work with shims - by @aryaemami59 <samp>(769aa)</samp>Upgrade svelte and css compiler - by @DaniAcu in https://github.com/egoist/tsup/issues/1288 (c3f32)
Don't await sub-process of onSuccess - by @laat in https://github.com/egoist/tsup/issues/1256 (314a6)
onSuccess - by @laat in https://github.com/egoist/tsup/issues/1256 <samp>(314a6)</samp>Run experimentalDts only once - by @aryaemami59 in https://github.com/egoist/tsup/issues/1236 (fddd4)
experimentalDts only once - by @aryaemami59 in https://github.com/egoist/tsup/issues/1236 <samp>(fddd4)</samp>*No significant changes* ##### View changes on GitHub
No significant changes
do not terminate dts worker in watch mode, closes #1172, closes #1171
## 8.2.3 (2024-07-24) ### Bug Fixes * get metafile on windows
Revert "refactor: replace globby with faster alternative (#1158)"
dts: terminate worker when work is done
add option to retain node protocol
Upgrade bunch of dependencies (esbuild v0.23).
upgrade esbuild to 0.21.4, opts-in for decorators
## 8.0.2 (2024-02-10) ### Bug Fixes * support swc target for mjs
dts: ensure chunks conform to bundle format
add newline after cjsInterop (b749a27), closes #1022
Ensure matching declaration file exists for each output bundle format
external: match root paths on unix-like and windows
## 6.6.2 (2023-02-12) ### Bug Fixes * upgrade tsup
types: make sure enum starts with declare keyword (a85439d), closes #834
clean d.ts files if "dts" option is false
# 6.5.0 (2022-11-14) ### Bug Fixes * fix typo in postcssPlugin (#764) (a2803dd) ### Features * add --publicDir [dir] flag
ensure setContext before run buildStarted
Configure Rollup's external to support subpaths too
return a function in onSuccess to do cleanup
actually trigger rebuild when watched files change
fix DataCloneError when DTS is on
make --minify work with es5 target, fix #653
allow format to be a string in config file
## 6.0.1 (2022-05-25) ### Bug Fixes * add missing tsup-node command
shims option is false by default: If you're dual-publishing (i.e. --format esm,cjs) and using platform specific API like import.meta.url, __dirname an
shims option is false by default: If you're dual-publishing (i.e. --format esm,cjs) and using platform specific API like import.meta.url, __dirname and __filename, you need to manually enable --shims flag now, because import.meta.url won't work in a cjs module, and __dirname, __filename won't work in an esm module.target option is now node14 by default: previously it was node12, the minimal node version that tsup can run in is also changed to node14treeshake option: You can use Rollup for tree-shaking now, read more https://tsup.egoist.sh/#tree-shakingupdate source-map to 0.8.0-beta.0, closes #623
define a build-time constant called TSUP_FORMAT
dts: use relative baseUrl in tsconfig, closes #611
Exit Code returns 0 for failed builds, closes #606
make sure sources are relative path in sourcemap, closes #603
don't treat .node.js as native node module, closes #589
build promise resolves before types are emitted
regression: entry gets ignored if it is an object, closes #583
ignore non js/ts files in --dts build, closes #554
## 5.11.12 (2022-01-29) ### Bug Fixes * node 12.20.0 compatibility
plugins can't be pased to the worker
remove --inlineDynamicImports (it's never used)
update rollup-plugin-dts, closes #500
sourcemap: applySourceMap requires a file path
## 5.11.6 (2021-12-15) ### Bug Fixes * Make noExternal option work
bring back inline sourcemap support, closes #495
inherit esbuild logLevel in plugins
Your coding agent can read these notes before it upgrades. Set up the MCP server →