TechnologyFront-end build tool

Vite

Front-end build tool and development server, created by Evan You, that uses native browser modules for fast startup and near-instant updates.

Vite is a build tool for JavaScript front-end projects that provides a development server and a production bundler. During development it serves source files to the browser as native ES modules, transforming them on demand, so the server starts quickly regardless of project size and edits appear almost instantly through hot module replacement. For production it bundles and optimizes code for deployment. Vite supports TypeScript, JSX and CSS preprocessors out of the box and is extended through a plugin system.

Evan You, the creator of the Vue.js framework, released Vite in 2020, and version 2 the following year made it framework-agnostic. The name is the French word for quick. Vite originally relied on esbuild for fast dependency pre-bundling and on Rollup for production builds, and its team has been developing Rolldown, a Rust-based bundler, to unify both roles. It is open source under the MIT License and runs on Node.js.

Vite became a default foundation for many front-end frameworks and starter templates, including setups for React, Vue and Svelte, largely replacing older bundler configurations that were slow to start in large projects. Its speed shortens the feedback loop between writing code and seeing results, which matters for productivity and learning. Like other JavaScript tooling, it brings a dependency chain that teams should audit and update, and its development server relies on browser support for ES modules.

Key points

  • Vite serves native ES modules during development for fast startup and updates.
  • Evan You, creator of Vue.js, released Vite in 2020.
  • Production builds are bundled and optimized for deployment.
  • Many frameworks, including React and Vue, offer Vite-based starter templates.

Related entries

Technology

JavaScript

Programming

High-level programming language of the web, created at Netscape in 1995, that runs in every major browser and on servers through runtimes like Node.js.

Technology

Node.js

Programming

Open-source JavaScript runtime built on Google's V8 engine that runs JavaScript outside the browser using an event-driven, non-blocking model.

Technology

React

Programming

Open-source JavaScript library from Meta for building user interfaces out of reusable components that update efficiently when data changes.

Technology

TypeScript

Programming

Programming language developed by Microsoft that adds optional static types to JavaScript and compiles to plain JavaScript for any runtime.

Glossary term

Package Manager

ProgrammingFOSS

Tool that automates installing, upgrading, configuring and removing software packages and their dependencies from shared repositories.

Glossary term

Web application that loads a single HTML page and then updates its content with JavaScript instead of loading fresh pages from the server.

Technology

Create T3 App

Programming

Command-line tool that scaffolds full-stack TypeScript web applications using the T3 Stack of Next.js, tRPC, Tailwind CSS and related libraries.

Glossary term

Static Site

Programming

Website made of prebuilt HTML, CSS and JavaScript files served exactly as stored, without generating pages on a server for each visitor.