Skip to content

v6.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 May 09:12
· 122 commits to main since this release

6.0.0 (2022-05-25)

Upgrade guide

  • 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 node14

New Features