The bundle size produced by
expo build:web is huge at average 2 or 3mb.
I completed steps at
https://docs.expo.io/guides/web-performance/. My app has no images so no real issue to optimise them. Other suggested improvements changed very little.
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (48.8 KiB). This can impact web performance. Entrypoints: app (3.2 MiB) static/js/runtime~app.aaee9ccd.js static/js/2.a5f54fa3.chunk.js static/js/app.98ae2f23.chunk.js
The result of this is a webpage which peforms extremely poorly.
If I run google “lightspeed” (pagespeed insights) on the result in browser, I get extremely poor ratings for initial page load.
Can the Expo team shed any insight on this?
I am thinking a potential way to solve, is branch off, then eject, then remove all unecessary APIs to reduce bundle size.
I’ve also added lazy load on some components without much improvement.
Are there any other suggestions you might have?
Also attached are the google lightspeed test results.