fateriddle Posted September 24, 2018 Share Posted September 24, 2018 I'm working on a web AR project, where I've got the freedom to choose whichever 3d engine I like, and I like babylonjs. The only concern right now is the minified gzip bundle of babylonjs is around 454 kb, which is too big. https://bundlephobia.com/[email protected] gonna use every single functionality of babylonjs, so my question is: is there a way around it, if I'm only gonna use partial of babylonjs? if I'm installing the npm package and import only the part I need, like import { AbstractMesh } from "babylonjs"; import { AdvancedDynamicTexture, Rectangle, Control, TextBlock } from "babylonjs-gui"; Will I be able the decrease the size of the bundle? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.