New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree-Shaking with react-intl library makes bundle even bigger #1859
Comments
Do you this still have this issue? |
yup: I updated the dependencies (https://codesandbox.io/s/4zr09pqzo0), downloaded the sandbox-project and built it locally: |
Why are your JS bundles (both) so large? On macOS:
|
Oha, then it's the operating system? I use Windows 10. Otherwise, as I said, I have done nothing else than:
If it works correctly for other Windows users (can anyone confirm that?), I unfortunately have no idea why. |
Can confirm, that this happens on Windows 10 and not on macOS. |
I'm not completely sure why, but #2445 fixed your issue (December 24th, 2018). So it will be fixed in the next release
This has nothing to do with this. |
🐛 bug report
this project which only includes React and react-intl results in following builds:
normal build (no
--experimental-scope-hoisting
)build with
--experimental-scope-hoisting
With CRA the file size after gzip is 47kb (157kb non-gzipped)
🤔 Expected Behavior
The bundle should get smaller.
😯 Current Behavior
Getting bigger.
💻 Code Sample
sandbox
🌍 Your Environment
The text was updated successfully, but these errors were encountered: