Skip to main content

Inside a pipeline: demystifying Vite and its plugins

Vite processes requests between a project's files and the browser, transforming modules as they are requested and bundling the application for production. This talk uses images and other non-JavaScript imports to show why the browser receives JavaScript instead of the original source format.

It then introduces the three main plugin hooks, resolveId, load, and transform, and shows how multiple plugins pass module data through the pipeline. The final section explains virtual modules and how a plugin can generate code that does not exist on disk.

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: Node.js Paris (opens in a new tab)ParisDate:

    Inertia: One Ring to rule them all

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

    Inertia: One Ring to rule them all

  3. Event: Devoxx France (opens in a new tab)ParisDate:

    Inside a pipeline: demystifying Vite and its plugins

What do you think?

Discussions

Loading discussions...

Add a comment

Checking your session...