-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Babel Preset: Update Babel to v7.13.x #30018
Conversation
See details about the new version at https://babeljs.io/blog/2021/02/22/7.13.0.
3667482
to
5da94f3
Compare
Size Change: +131 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Possible follow-up tasks: Top-level targets optionWe could move gutenberg/packages/babel-preset-default/index.js Lines 22 to 29 in f8a8465
Automatic ES modules in @babel/runtime
This one is cool but we would need to define |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gziolo! I did some basic smoke testing with npm run dev
and npm run build
on FF/Safari/Chrome, I didn't see anything that stood out.
This upgrade feels pretty safe to try. 👍
Description
See details about the new version at https://babeljs.io/blog/2021/02/22/7.13.0.
Notable changes
The bundled
@babel/runtime
dependency has been updated from requiring^7.12.5
to requiring^7.13.10
for all WordPress packages that are transpiled.@wordpress/babel-preset-default
@babel/core
dependency has been updated from requiring^7.12.9
to requiring^7.13.10
.@babel/plugin-transform-runtime
dependency has been updated from requiring^7.12.1
to requiring^7.13.10
.@babel/preset-env
dependency has been updated from requiring^7.12.7
to requiring^7.13.10
.@babel/preset-typescript
dependency has been updated from requiring^7.12.7
to requiring^7.13.10
.@babel/runtime
dependency has been updated from requiring^7.12.5
to requiring^7.13.10
.@wordpress/scripts
babel-loader
dependency has been updated from requiring^8.1.0
to requiring^8.2.2
.How has this been tested?
All tests should pass and that should be it.
Types of changes
Changes of dependencies.
Checklist: