MATRIX IT · 2024
Vite and Feature-Sliced Design as a shared foundation
Build speed was the most visible problem. On my Celeron machine the Webpack project took over a minute to build. I put together a Vite prototype — the build took a few seconds. On more powerful machines the pain was weaker, but my computer showed clearly how expensive the old process was for development.
- WEBPACK, BEFORE
- > 60 s
- VITE, AFTER
- ~ 3 s
After the demo the team moved to Vite and chose Feature-Sliced Design as its architectural foundation. I was trusted to build a template frontend codebase that could be adapted to different products through copy, environment variables and a visual theme.