Tree Shaking Three.js

I just posted this as I too am having difficulty getting the size down. I have created a custom main app file and rollup build and only include what I need to bundle.

This helps strips the shader code which adds about 150kb.

1 Like