I’ve just written up a few blog posts about my attempts to implement Vite with Middleman. The first post walks through setting up Vite with the external pipeline and then I came across Vite Ruby which looks great so I wrote another blog post which talks through that setup and that’s what I opted for in the end.
Here is a brief summary of the improvements I saw over my original Webpack setup.
- 171 fewer dependencies - 14% improvement
- 4.08s faster dev server - 49% improvement
- 13.65s faster build - 65% improvement
- 35.8MB smaller Netlify cache - 15% improvement
- 14.1kb less JavaScript shipped overall - 26% improvement
I really like the new setup and wondered if anyone was using Vite with Middleman and what their experiences were?