How to improve webapp load performance, and interact with the three.js file in an optimal way

Unfortunately, it’s not yet possible to import only the classes from the three.js lib which are actually used in a project. This kind of dead-code elimination is called tree shaking and not yet supported by three.js. More information about this topic right here: