Build Tools and Bundlers
Prerequisites: Modules
A bundler (Vite, Webpack, esbuild) combines many JavaScript modules into a small number of files optimized for the browser — smaller, fewer network requests, and compatible with older browsers via transpilation.
npm create vite@latest my-app
cd my-app
npm install
npm run build
npm run build produces a dist/ folder with minified, bundled
files ready to deploy — this is the standard workflow behind virtually
every modern JavaScript frontend project.