Babel Preset: Update @babel/preset-env to enabled optional chaining #18939
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Tool] Babel preset
/packages/babel-preset-default
[Type] Enhancement
A suggestion for improvement.
Optional chaining reached stage 4!
https://twitter.com/NicoloRibaudo/status/1202323456899067906
This means that... it should be soon enabled by default in
@babel/preset-env
and in@babel/parser
.There are two issues to track progress:
Once those two packages are updated and published to npm we should take an action and update
@wordpress/babel-preset-default
and all other packages using Babel to use the latest version of all Babel packages.Resources
The text was updated successfully, but these errors were encountered: