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?
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.
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.