Inside a Pipeline: Demystifying Vite and Its Plugins
summary
An overview of Vite’s architecture and plugin system: history, how Vite’s pipeline orchestrates functionality via plugins, and concrete analysis of real plugins to show how to build and extend Vite. The talk names ecosystems that rely on Vite (Vue, Nuxt, Remix, Solid, Qwik, Astro, Storybook, Tailwind CSS, Laravel, Cloudflare, Nitro, etc.) and focuses on the pipeline internals and plugin development.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 3:18What is Vite and why
- 6:10Vite vs Webpack performance
- 8:18Vite plugins overview
- 11:29Building first plugin
- 14:01Understanding plugin pipeline
- 16:54Inspecting plugin transformations
- 17:57Plugin lifecycle hooks
- 18:18Creating transform plugins
- 20:46Loading Markdown
- 22:31Virtual modules in Vite
- 25:40Building VP Press plugin
- 27:46Virtualization use cases
- 29:11Advanced plugin capabilities
- 30:35Exploring HMR in Vite
- 33:23Pipeline recap
- 34:45Key takeaways
- 36:28Q&A
