bumpp icon indicating copy to clipboard operation
bumpp copied to clipboard

fix: tsup build esm import `ReleaseType` error

Open dockfries opened this issue 1 year ago • 0 comments

Description

This PR contains two fixes.

One is the extra ts type ReleaseType in the build, and the other is that when tsup is packing, it encounters picocolors to generate esm and builds an invalid __require. Dynamic require of "tty" is not supported

Linked Issues

fixes #9

Additional context

referenced from 为什么是 tsup and discussion Make require work in ESM bundle

dockfries avatar Nov 23 '23 10:11 dockfries