Vite

development build tool and bundling with rollup

fast development builds

nativeĀ  ES modules

no bundling

compiled on demand

hot module replacement

Getting started

npm init vite-app app-name --template react-ts

cd app-name

npm install

npm run dev

reload

bundle vs es modules

*vite does cache already compiled files in memory so reloads are fast

Vite

By jhsu

Vite

  • 255