Course
JavaScript Build Tooling: Vite & Beyond
Modern JavaScript build tooling the way senior teams operate it — esbuild and Rollup internals, module resolution, fast dev servers, dependable HMR, production artifacts, library packaging, and webpack migrations.
Reviews
Enrolled members can rate this course.
No reviews yet.
Bundler Internals
What esbuild, Rollup, and Vite actually do beneath the command line.
- 01What a Bundler Actually DoesParse, resolve, transform, link, and emit — the five-stage mental model that makes every bundler decision intelligible.18mOpen
- 02esbuild vs Rollup: Why Vite Uses Bothesbuild is the fast compiler and dependency packer; Rollup is the deliberate production linker — Vite deliberately plays to each one's strengths.20mOpen
- 03Vite's Architecture: Native ESM, Pre-Bundling, and PluginsVite's dev server is not a small production bundler — it is a module-serving architecture built around browser-native ESM and a separate dependency optimization pass.21mOpen
The Development Loop
Module resolution, native ESM dev servers, transforms, caching, and hot module replacement.
- 01Module Resolution in the Real WorldRelative paths, bare specifiers, package exports, conditions, aliases, and why TypeScript and bundlers can resolve the same import differently.22mOpen
- 02Inside the Dev Server: Requests, Transforms, and CacheHow Vite serves source modules, where transformation cost is spent, and how to diagnose slow startup without guessing.20mOpen
- 03HMR That Survives RealityHot module replacement is a state-preservation contract — boundaries, invalidation, and the code shapes that make updates safe.23mOpen
Production and Migration
Application chunks, library packaging, production diagnosis, and legacy webpack migrations.
- 01Application Builds: Chunks, Hashes, and Cache StrategyProduction output is an artifact contract — entry chunks, shared chunks, hashed assets, sourcemaps, compression, and cache headers that must line up.21mOpen
- 02Library Builds Are Not App BuildsApplications bundle dependencies for users; libraries publish contracts for downstream bundlers — formats, externals, types, and package exports all change.24mOpen
- 03Migrating Legacy webpack Configs to ViteInventory behavior before translating syntax — aliases, env injection, loaders, proxies, HTML generation, and build artifacts each need a deliberate migration decision.25mOpen