这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: egoist/tsup

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)

v5.12.4

03 Apr 17:26
Compare
Choose a tag to compare

5.12.4 (2022-04-03)

Bug Fixes

  • make sure sources are relative path in sourcemap, closes #603 (637ec28)
  • reject promise with an error (401e204)

v5.12.3

02 Apr 14:25
Compare
Choose a tag to compare

5.12.3 (2022-04-02)

Bug Fixes

  • don't treat .node.js as native node module, closes #589 (e5fe1c1)

v5.12.2

01 Apr 07:15
d30f813
Compare
Choose a tag to compare

5.12.2 (2022-04-01)

Bug Fixes

  • build promise resolves before types are emitted (#597) (d30f813)

v5.12.1

11 Mar 04:06
Compare
Choose a tag to compare

5.12.1 (2022-03-11)

Bug Fixes

  • regression: entry gets ignored if it is an object, closes #583 (b480486)