---
title: "Why use Vite when Bun is also a bundler? - Vite vs. Bun"
url: https://daily.dev/posts/why-use-vite-when-bun-is-also-a-bundler---vite-vs-bun-8bch3ejen
source_url: https://dev.to/this-is-learning/why-use-vite-when-bun-is-also-a-bundler-vite-vs-bun-2723
type: article
source: "This is Learning"
published: 2023-09-19T19:08:14.966Z
updated: 2023-09-19T19:08:14.205Z
tags: ["webdev", "javascript", "future", "vite", "bun"]
reading_time: 3
upvotes: 126
comments: 11
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why use Vite when Bun is also a bundler? - Vite vs. Bun

**[This is Learning](https://daily.dev/sources/til)** · 3 min read · 126 upvotes · 11 comments

## Summary

Why use Vite when Bun is also a bundler? - Vite vs. Bun? Why is Vite still needed? Vite is great for bundling client-side apps, has API's that many developers love. Bun's HMR currently has at least one open issue, which is important for fast local development.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/this-is-learning/why-use-vite-when-bun-is-also-a-bundler-vite-vs-bun-2723>

## Community discussion

Top comments from developers on daily.dev.

**@ilorez** · 5 upvotes

> I think that bun will not replace Vite
> Actually it's possible run Vite with Bun.

**@nenadcramick** · 5 upvotes

> Soon, every person on the planet will have their own personal bundler and framework...

**@princee** · 1 upvotes

> I don't think it will. as in upcoming years, we will see some Bundlers like Bun.js which will be faster then bun (for sure). or we can't say if vite alone did that. so, let's wait for happens next. The technological advancements will never stop so we can't say anything 😅😂

**@kyoukhana** · 1 upvotes

> I think Bun will surpass Vite eventually give it time.  Where does this leave Webpack in the dust?

**@hamcker** · 0 upvotes

> That was accurate thing to say. thanks

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#future](https://daily.dev/tags/future), [#vite](https://daily.dev/tags/vite), [#bun](https://daily.dev/tags/bun)

[View this post on daily.dev](https://daily.dev/posts/why-use-vite-when-bun-is-also-a-bundler---vite-vs-bun-8bch3ejen)
