Articles tagged with #Vite
A curated list of engineering series, deep dives, and notes related to #Vite.
In-Source Testing & Zero-Overhead Production Dead Code Elimination
Learn how to use Vitest in-source testing to co-locate code and tests without inflating bundle size.
Build System Architecture: AST Transformations, Tree-Shaking, HMR, esbuild, SWC, and Vite
Master modern build system architecture. Learn Abstract Syntax Tree transformations, tree-shaking dead code elimination, HMR, and Vite internals.
Vitest Configuration Mechanics: Merging vite.config.ts, test.include, and Environment Drivers
Learn how Vitest merges Vite configs, configures DOM environments (happy-dom/jsdom), and customizes test includes.
The Vite Module Graph & On-Demand Transformation in Unit Testing
Learn how Vitest leverages Vite's module graph, SSR transformation, and esbuild pipeline for rapid unit testing.
Why Jest Slows Down at Scale: Dual Module Graphs & ESM Interop Bottlenecks
Examine the technical causes of Jest test suite slowdowns: CommonJS transformations, custom module resolution, and memory leaks.
Vitest Architecture & Modern Testing Systems: Series Introduction
Master Vitest from first principles: Vite transform pipelines, tinypool isolation, module hoisting, fake timers, and custom reporters.