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!
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!
I think tsdown is much better suited for CLI and library builds. Vite has many web-isms that don't matter for these.
I'd be interested in seeing this implementation if it's publicly available. Do you have a GitHub link? Thanks!