My app uses react-intl, which depends on intl-messageFormat and intl-relativeFormat.
Both react-intl and intl-relativeFormat are huge in size, increasing my bundle by about 350kB. Has anyone successfully imported only the locales that they need, instead of all the languages all the time?
Right now I think my best chance is to fork and modify the packages, but I’d love to avoid that.
I’m having exactly the same issue, the bundle size is insane in context with meteor. How do other devs solve this when they need to use meteor + react + intl?
I’m also using react-intl. Due to the locales my bundle size is increased by atleast 600kb, although I only require a few locales. Is there any proper solution to use only some selected locales or to load them async, when required?
Same issue here, possible the bellow issue might help us. It has been scheduled for 1.6.1 at the moment. Fingers crossed. Any other solutions that anyone knows of?