reduce bundle size for three js #812
Unanswered
piyusharorawork
asked this question in
Q&A
Replies: 1 comment 2 replies
-
look into recipes.md there's a small section about it. threejs cant properly tree-shake, but you can alias away some chunks. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So after doing webpack analysis I found out that threejs is taking most of the space
Three.module.js
Stat Size : 1.23 MB
Parsed Size : 658 KB
Gzip size : 155 KB
path : node_modules/three/build/three.module.js
So is there any way we can improve on it or any standard practice ?
Beta Was this translation helpful? Give feedback.
All reactions