Production build js is 3.5mb?

some days I write vanilla js inside an index.html to bring back my sanity

by user 300386587278049291

I think generally “reasonable defaults that are close to magic for someone less experienced” are the best path, and then people who do know what they’re doing can turn things on and off and plug things apart

curious how you got the needle.tools bundle so small?

by user 300386587278049291

Maybe you have been looking at it pre-rapier? When did you check the sizes? (We updated in january with the latest version which also added rapier)

just the initial page load

by user 300386587278049291

The initial load is maybe fast because we defer loading the content / split it into smaller chunks by lazily loading it in sub-scenes / prefabs. Could that be it?

So the first load is mainly just the core engine and a tiny glb

ah I didn’t see you had it split into a vendor.js that is 1mb

by user 300386587278049291