Skip to content

Babel Preset: Update @babel/preset-env to enabled optional chaining #18939

@gziolo

Description

@gziolo

Optional chaining reached stage 4!

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Status] In ProgressTracking issues with work in progress[Tool] Babel preset/packages/babel-preset-default[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions