There is this thread :
It helped me bundle glb and other resources in this project:
Code for loading glb can be found here:
Note some exception regarding .env files for example:
Where extension must be provided to be properly loaded.