Bundling Tips
three.js and three-vrm are relatively large. Splitting them into their own chunks keeps your main bundle small and lets browsers cache them separately.
Vite
Rsbuild
Lazy loading
If the avatar is not needed on the first screen, load the component asynchronously: