esbuild VS vite

Compare esbuild vs vite and see what are their differences.


Next generation frontend tooling. It's fast! (by vitejs)
Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
esbuild vite
316 749
36,425 61,473
- 1.5%
9.6 9.8
3 days ago 3 days ago
Go TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of esbuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-13.
  • Quick Summary of Angular 17
    3 projects | | 13 Nov 2023
    esbuild plus Vite is out of developer preview and enabled by default, yielding 67%, 87%, 80% speed improvements for build time, hybrid build time and hybrid serve time respectively.
  • In-Depth guide for TypeScript Library
    4 projects | | 13 Nov 2023
    Bundling with esbuild
  • 11 Ways to Optimize Your Website
    12 projects | | 12 Nov 2023
    Besides Webpack, there are many other popular web bundlers available, such as Parcel, Esbuild, Rollup, and more. They all have their own unique features and strengths, and you should make your decision based on the needs and requirements of your specific project. Please refer to their official websites for details.
  • WinterJS
    6 projects | | 28 Oct 2023
  • Run Bun Run! Building an AWS CDK Template with Bun
    4 projects | | 28 Sep 2023
    The famous bundler is Webpack, but esbuild is the fastest one… Well, until Bun 🍔
  • Why use Vite when Bun is also a bundler? - Vite vs. Bun
    5 projects | | 19 Sep 2023
    For production, Vite can use another bundler, esbuild, to speed up transpilation and minification, while it in production also uses the bundler Rollup to create the client side JS bundle, due to Rollup's flexible API. Even though Vite uses ESM in development environment, for speed. In the future Vite may use esbuild entirely for bundling instead of Rollup, due to the speed it would gain.
  • Modern VS Code extension development: The basics
    4 projects | | 14 Sep 2023
    The best way to accomplish this is through bundling. Microsoft recommends utilizing esbuild for bundling your VS Code extensions due to its speed and efficiency. webpack is another good alternative.
  • Date Picker: reactive Web Component in JavaScript
    2 projects | | 13 Sep 2023
    To bundle our code in this example we're going to use esbuild, because it's fast and easy to use.
  • PURISTA: Build with rimraf, esbuild, Turbo & git-cliff
    3 projects | | 11 Sep 2023
    esbuild - the rescue! No longer struggling with configs, file extensions or similar.
  • Nx Console gets Lit
    7 projects | | 30 Jun 2023
    Since Lit is just javascript files that don’t require a custom compiler or build tooling, we decided to use esbuild (via @nx/esbuild), which is written in Go and extremely fast. On the other hand, the old UI used the @angular-builders/custom-webpack:browser builder, which uses webpack under the hood.


Posts with mentions or reviews of vite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-30.
  • NPM workspace and vite - Read dependency build output (d.ts file)
    3 projects | /r/webdev | 30 Nov 2023
    I have a monorepo which uses the npm workspace feature. The packages can be built with using vite and d.ts files are generated using vite-plugin-dts. Every package has a vite config.
  • My Journey in Making "Coin Factory": A Web Game
    4 projects | /r/incremental_games | 27 Nov 2023
  • Introduction to TypeScript with React
    4 projects | | 25 Nov 2023
    Now, we will create a Vite project using TypeScript.
  • RiotJS + ViteJS tutorial
    4 projects | | 15 Nov 2023
    import { defineConfig } from 'vite' import riot from 'rollup-plugin-riot' export default defineConfig({ root : process.cwd() + '/client', plugins : [riot()], build: { minify : 'esbuild', /** */ target : 'esnext' /** */ } })
  • Quick Summary of Angular 17
    3 projects | | 13 Nov 2023
    esbuild plus Vite is out of developer preview and enabled by default, yielding 67%, 87%, 80% speed improvements for build time, hybrid build time and hybrid serve time respectively.
  • 11 Ways to Optimize Your Website
    12 projects | | 12 Nov 2023
    Speaking of frontend tools, Vite is definitely one that we can't afford to overlook. As your application grows increasingly complex, it is not uncommon for a single application to have hundreds or even thousands of modules. As a result, it often takes an unnecessarily long time for the web bundlers to process all of them before a dev server can be started.
  • Ask HN: What framework/tools to use to build front end in 2023?
    6 projects | | 11 Nov 2023
    I'm for Vue/Nuxt. While reading React code is fine, I found it easy to shoot myself in the foot (causing circular effects or getting no reactivity) in a way Vue didn't. Vue feels more explicit. I like React's TSX for embedding HTML, but Vue's splitting of model and view appeals to me. I'm torn on that one.

    Vue's ecosystem isn't as big, but it's an established framework. Both React and Vue feel easier to work with than Angular. RxJS is really cool, but also very comprehensive, making it difficult to keep the entire API in mind. At least for me, who only use it casually (used to use it more while at Google.) And on top of that, I have to know the Angular API. Angular used to be great for Material Design, but I nowadays there are MD packages for all systems.

    Nuxt is for Vue what Next is for React: SSR and SSG. It adds auto-imports, which is nice. At this point, I see no reason to use Vue alone, since there's always something that can be pre-rendered. Perhaps the frontpage, or help pages. Since Vue itself provides entrypoints for SSR, Nuxt is more of a file-structure based router that just simplifies things. The documentation is a bit sparse on e.g. the difference between a plugin and a module, and I usually resort to navigating their source to understand things. That might not be everyone's cup of tea.

    If what you're writing is a web app, there is also Quasar, built on top of Vue. Similar to Nuxt in that it ties in directory structure, build system and MVC framework. It is also a Material Design UI widget library. Their selling point is that you can build mobile apps, and web apps with the same library. I.e. like React Native. I felt it strays too far away from the core simplicity of Vue, unlike Nuxt, but it's no doubt a very capable framework.

    Finally, I'm currently using PrimeVue as the UI widget/theming library on top of Vue. It's okay. :\ Switched to it when the Vue Bootstrap project decided to to support Vue 3 (or whatever the situation was.) I haven't come across anything that's actively broken or missing. The companion library PrimeFlex provides layout CSS. Annoyingly, they've decided to close GitHub FRs, and some (far from all) bugs, and just keep track of them internally. Makes it more dificult to communicate, but I don't know their reasoning behind it (they didn't respond when I asked.)







  • Deploying container applications on AWS with CI/CD pipelines
    5 projects | | 10 Nov 2023
    We don't need a fancy fully-functional web application for this project. We just need a simple web application that we can use to deploy, build docker image and make a few changes to test our CI/CD pipeline. So we will just be using a simple react application boilerplate created with Vite. You can create your own or use any other boilerplate you like. So let's go into our working directory (any folder you like) and create a new vite application. I will be using pnpm for this project and here is a link to their installation guide.
  • Learn serverless on AWS step-by-step: Upload files on S3
    2 projects | | 8 Nov 2023
    Finally, let's create a React application that will use our backend to upload and download files. The quickest way to create a React application is to use vite, it allows you to create a simple SPA in seconds.
  • Comic Book App With Marvel API and React
    2 projects | | 2 Nov 2023
    I started a new React app through Vite by running:

What are some alternatives?

When comparing esbuild and vite you can also consider the following projects:

Next.js - The React Framework

swc - Rust-based platform for the Web

parcel - The zero configuration build tool for the web. 📦🚀

Rollup - Next-generation ES module bundler

astro - The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ⭐️ Star to support our work!

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

Laravel Mix - The power of webpack, distilled for the rest of us.

SvelteKit - web development, streamlined

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to:]