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

pull/45666/head
Ashley Harrison 3 years ago committed by GitHub
parent 6beba5a049
commit 0f8cb16193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      babel.config.json

@ -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",

Loading…
Cancel
Save