-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix(js): update babel preset to specify minor version of core-js for better optimization #22433
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit e43e541. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
6b7f9d5
to
4a72fa2
Compare
…better optimization - Also fix rollup:configuration generator to add core-js as needed
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
This PR adds the minor version when passing
corejs
option to@babel/preset-env
. When it is passed as just major version3
, there are some optimizations that may be skipped.@nx/rollup:configuration
generator to addcore-js
as needed (apps don't need it anymore, but libs still do if they targetcjs
)core-js
to^3.36.1
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #21354