Matias Capeletto
Matias is a Vite and Vitest core team member, and a collaborator in other projects in the Vite and Vue ecosystem. His main focus is on Vite maintenance and in helping its ecosystem and community grow into healthy spaces for collaboration. He is also now part of the Vitest team, building a Vite-native test-runner.
The Inner Workings of Vite Build
DevOps.js Conf 2022
31 min
The Inner Workings of Vite Build
Vite unbundled ESM dev server and fast HMR are game-changing for DX. But Vite also shines when building your production applications.This talk will dive into how the main pieces fit together to bundle and minify your code:Vite build as an opinionated Rollup setup.How esbuild is used as a fast TS and JSX transpile and a minifier.The production plugins pipeline.Modern frameworks (Nuxt, SvelteKit, Astro, among others) have chosen Vite, augmenting the DX and optimizations for their target use case.We'll discover Vite as a polished and extendable toolkit to craft optimized modern apps.