Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

70mb is insane and not at all the standard.

There's a reason why Vite has a default bundle chunk warning of 500kb.

There's really no reason it should be that large. If you just lazy load each route your chunks should distribute into manageable size pretty much automatically.

It sounds like you may also have a bunch of dependencies. Which can happen in a native app, but in a web app as you know you'll have limited resources so size is important.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: