Chore: Reorder babel plugins into correct order (#45691)

This commit is contained in:
Ashley Harrison 2022-02-21 17:07:42 +00:00 committed by GitHub
parent 6beba5a049
commit 0f8cb16193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,9 +26,6 @@
]
],
"plugins": [
// added to mitigate https://github.com/babel/babel/issues/14289
// package (and following line) can be removed once the issue is fixed and released
"@babel/plugin-proposal-class-properties",
[
"@babel/plugin-transform-typescript",
{
@ -36,6 +33,9 @@
"allowDeclareFields": true
}
],
// added to mitigate https://github.com/babel/babel/issues/14289
// package (and following line) can be removed once the issue is fixed and released
"@babel/plugin-proposal-class-properties",
["@babel/plugin-proposal-object-rest-spread", { "loose": true }],
"@babel/plugin-transform-react-constant-elements",
"@babel/plugin-proposal-nullish-coalescing-operator",