logoalt Hacker News

TheAlexLichtertoday at 12:23 PM2 repliesview on HN

I am using Vite+ for CLIs as well, yes. You don't use Vite as dev server then but lint, format, task running and caching is still there!


Replies

silverwindtoday at 2:29 PM

I think tsdown is much better suited for CLI and library builds. Vite has many web-isms that don't matter for these.

bdxntoday at 12:35 PM

I'd be interested in seeing this implementation if it's publicly available. Do you have a GitHub link? Thanks!