just a wrong path. it’s telling you that “./untitled.glb” leads no where. that’s most likely because assets have to be in /public or what like like /static in your case. they can’t be inside /src because that folder does not exist, it is virtual. they can’t also be in the root folder. the bundlers job is to copy that into /dist, which is your actual app. if your glb is nowhere to be found in /dist that’s bad.
ps. webpack is a very complex thing. at this point i don’t know a single person who’d still use it raw, it is mostly being used by other tools and CLI’s. nobody’s got time to sift through config files and all the nonsense that was needed years ago. bundling nowadays is a no friction task.
the simplest bundler there is: type npm create vite in your dev main folder, go through the steps, npm install three and you’re done. the asset folder then is called “public”, it creates that for you.