Skip to content

Utilize babel-preset-latest instead of babel-preset-2015

username-removed-636429 requested to merge use-babel-preset-latest into master

What does this MR do?

Replaces babel-preset-2015 with babel-preset-latest which includes presets for es2015, es2016, and es2017. This is the recommended base preset by the maintainers of babel.

Are there points in the code the reviewer needs to double check?

Nope.

Why was this MR needed?

Prevents us from needing to update our config whenever new ECMAScript specs are adopted, we can simply yarn upgrade babel-preset-latest instead.

Screenshots (if relevant)

n/a

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

related to #27486 (moved)

Merge request reports