Odd bundle sizes #13406
Unanswered
jchabotamica
asked this question in
General
Odd bundle sizes
#13406
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As our app which was initially built on CRA has really grown some of its initial bundle/chunk file sizes.
It seems that if we import even a named function (utility function for example). If the file we are importing from includes other functions and other imports for those functions, then all of that is also brought into the same chunk file. Is this normal behavior among all apps? I thought it would be smart enough to break apart these files.
We do use things like lazy loading at route level as well.
Beta Was this translation helpful? Give feedback.
All reactions