Hacker News new | ask | show | jobs
by nsonha 515 days ago
not up to this point, but with this release, bun is now a bundler.

That means potentially no webpack, vite and their jungle of dependencies. It's possible to have bun as a sole dependency for your front and back end. Tbh I'll likely add React and co, but it's possible do do vanilla front end with plain web components.

1 comments

Bun has always been a bundler (and package manager, and Node runtime). This release adds "HTML imports" as a way to use the bundler.
Doesn't the name "bun" come from the fact that it's a bundler?
No it's just a name. Originally it's an alternative to nodejs.
not really a bundler without a dev server that you can just set to an entry point, and css support