Skip to content

Releases: egoist/tsup

v6.1.2

10 Jun 15:55
Compare
Choose a tag to compare

6.1.2 (2022-06-10)

Bug Fixes

  • make --minify work with es5 target, fix #653 (8230221)

v6.1.1

10 Jun 15:15
58d0145
Compare
Choose a tag to compare

6.1.1 (2022-06-10)

Features

  • cli: add --tsconfig flag to accept custom tsconfig path (#652) (58d0145)
  • minor: use shell option for complex commands in onSuccess (#649) (be48b8b)

v6.1.0

05 Jun 17:58
36e2199
Compare
Choose a tag to compare

6.1.0 (2022-06-05)

Bug Fixes

  • allow format to be a string in config file (0a96985)
  • ignore esbuild warning if silent is true (#643) (36e2199)

Features

  • allow to use an object as entry with --entry flag (33a7c5f)
  • new option outExtension (b9cd8d5)
  • support custom config file with --config flag (90f2d1a)

v6.0.1

25 May 09:56
Compare
Choose a tag to compare

6.0.1 (2022-05-25)

Bug Fixes

  • add missing tsup-node command (a175339)

v6.0.0

25 May 09:12
Compare
Choose a tag to compare

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

v5.12.9

25 May 06:22
Compare
Choose a tag to compare

5.12.9 (2022-05-25)

Bug Fixes

  • deps: Update rollup and rollup-plugin-dts to latest versions (#632) (a792668)

Features

  • minor: allow tsup config function to be asynchronous (#627) (ad2629a)

v5.12.8

16 May 15:57
Compare
Choose a tag to compare

5.12.8 (2022-05-16)

Bug Fixes

  • update source-map to 0.8.0-beta.0, closes #623 (c67e03d)

v5.12.7

05 May 14:01
Compare
Choose a tag to compare

5.12.7 (2022-05-05)

Bug Fixes

  • define a build-time constant called TSUP_FORMAT (f4a56ed)
  • resolve to package.json only if tsup key exists (#622) (67eea53)

v5.12.6

21 Apr 06:29
Compare
Choose a tag to compare

5.12.6 (2022-04-21)

Bug Fixes

  • dts: use relative baseUrl in tsconfig, closes #611 (df40e12)

v5.12.5

12 Apr 12:49
Compare
Choose a tag to compare

5.12.5 (2022-04-12)

Bug Fixes

  • Exit Code returns 0 for failed builds, closes #606 (b3ad95f)