build: replace tsup with tsdown workspace#351
Conversation
|
|
I noticed some of the Hono core packages use tsdown which I've also adopted for my own projects, gaining a substantial boost in both build times and ease of package management. I decided to give Hono Vite plugins tsdown migration a try for the same reason I now always pick tsdown 😊 |
Exports takes precedence over typesVersions in all modern moduleResolution modes apart from node10
…ugins into build/tsdown-workspace
676b8e0 to
a67cef5
Compare
Amazing! You are done well. I updated some by myself, and it looks good. Let's go with this. |
| "./adapter/cloudflare": { | ||
| "import": "./dist/adapter/cloudflare.mjs", | ||
| "require": "./dist/adapter/cloudflare.cjs" |
There was a problem hiding this comment.
Note: here the ./cloudflare export has been updated to ./adapter/cloudflare
Description
tsupwithtsdownacross all packagespublint,attw, andunusedcheckstsdowndependency usingyarn's workspace resolutiontsup,rimraf,glob, and per-packagepublintdependencies