Closed arildm closed 7 months ago
The bundle size problem is confirmed by this blog post: Why use Vite when Bun is also a bundler? - Vite vs. Bun
Bun is awesome as a Node.js replacement for the server (as a JS runtime).
Vite is great for unbundled fast development, and for flexible and optimal bundling of the JS code in production which is sent to clients over the network.
I've been following the guide at https://bun.sh/guides/ecosystem/vite
Noticing that with
bunx --bun
some bundle sizes are larger: