Vanilla Vite

What

Vite is a lightning-fast build tool and development server. It is the modern standard for scaffolding TypeScript applications, replacing older tools like Webpack.

How

You can create a new “vanilla” TypeScript project (one without a framework like React) using a single command:

npm create vite@latest my-app -- --template vanilla-ts

Why

Vite uses a Go-powered engine called esbuild to compile your code on the fly during development. This results in nearly instant server start times and “Hot Module Replacement” (HMR), where your browser updates instantly as soon as you save a file, without needing a full page refresh.

Summary

Vite is the recommended way to start any new TypeScript project, offering the best performance and developer experience available today.