Porting Webpack glob imports to Vite
An exploration into the Webpack `require.context` compiler macro, the code it produces, and the challenges of porting those Webpack glob imports to Vite.
Published August 26, 2023

Frontend / web engineer working primarily with TypeScript.
I currently work as a software engineer at Check24 Hotel Connect in Essen, Germany, where I've been building React frontends with TypeScript, React Hook Form, and TanStack libraries since May 2024. Most of that work is closed source.
Before that I worked at shopware AG on the Vue-based Administration UI — a lot of how I think about frontend development was shaped there.
The easiest way to reach me is via email at niklas@limberg.dev.