Error loading glb model - webpack electron react typescript

I’m having a similar issue here.
At the moment I’m working with vitesse
Combining the following: Vue 3, Vite 2, pnpm, ESBuild, this gives us the perfect combination.
I would like to embed our babylon js scene into this webdev build.

However I’m having some issues implementing or bundling model files (glb for ex) into the babylon env.
Typescript is throwing this error: Cannot find module './../assets/EPSI.glb' or its corresponding type declarations.ts(2307)
The image file in the same location is found, but the model file (glb) can’t be loaded it seems?

How could I resolve this?
Thanks alot!