Skip to main content

Inside a pipeline: demystifying Vite and its plugins

Vite sits between source files and the browser, transforming modules when requests arrive and bundling code for production. This talk explains why imports for CSS, images, JSX, and other file types work even though browsers do not understand those formats directly.

It then develops Vite plugins around module hooks and lifecycle hooks. Through concrete examples, it covers code transformation, external Markdown loading, virtual modules, generated routes, virtual data, icons, build metadata, HMR, middleware, macros, command execution, Laravel Vite, and Nitro.

Enjoyed "Inside a pipeline: demystifying Vite and its plugins"?

Follow me

Estéban Soubiran

Software engineer, conference speaker, and open source enthusiast.

Let's stay in touch

New articles, practical web development tips, and updates on my open source projects. Straight to your inbox.

Occasional emails about what I write and build.

Explore more talks

  1. Event: Vue.js Paris (opens in a new tab)ParisDate:

    Inertia: One Ring to rule them all

  2. Event: BDX I/O (opens in a new tab)BordeauxDate:

    In JavaScript, there's a package for everything... and often for nothing.

  3. Event: Paris TypeScript (opens in a new tab)ParisDate:

    Reactivity and signals: demystifying frontend magic

What do you think?

Discussions

Loading discussions...

Add a comment

Checking your session...