4 ms·
Last time I tried Babylon even for something minimal my bundles (with esbuild) were just too big compared to alternatives. I don’t see any mention of size opti
by billti 3y ago
Last time I tried Babylon even for something minimal my bundles (with esbuild) were just too big compared to alternatives.
I don’t see any mention of size optimizations in the blog post. Anyone have any knowledge on this they can share (else guess I’ll just try again with the new release).
- qiller 3y agoIt’s still quite monolithic. The issue is that it is a more complete engine than, let’s say Three, so the scene graph makes use of pretty much everything. Even you don’t use them, things like audio, webxr, node materials would get pulled in, despite tree shaking. For our purposes, we filter out unused modules using webpack build. Things would crash badly if something would get used by accident, but we have a pretty controlled environment
- kumarvvr 3y agoWhat are the alternatives available currently?
- ertucetin 3y agoYou should not add inspector as dependency. This pulls in everything.