Replies: 1 comment 2 replies
-
Declaration files didn't need to be bundled. They are just an annotations for type hinting in development environment. It is nothing when you deploy for the browser. You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm really interested about how tsup is so fast bundling declaration files. I was trying to use some alternative because I'm using Vite for building a library and dts-bundle-generator is so slow for me.
I'd like to have enough knowledge (and time) to build something like
dts-bundle-generator
but faster.Beta Was this translation helpful? Give feedback.
All reactions