logoalt Hacker News

_heimdall04/27/20251 replyview on HN

Yeah bun has a build command and handles at least most of what vite does (bundling, code splitting, asset imports, etc).

I'm also curious why you'd need vite with bun, maybe there are some features in vite that bun is missing?


Replies

sroussey04/27/2025

Bun is working to be a Vite replacement for many use cases, but that aspect is under heavy development right now.

If “bun index.html” works for you right now, then great! Otherwise you may need to go to vite for a while yet.