Skip to content

Commit 0f8cb16

Browse files
Chore: Reorder babel plugins into correct order (grafana#45691)
1 parent 6beba5a commit 0f8cb16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

babel.config.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
]
2727
],
2828
"plugins": [
29-
// added to mitigate https://github.com/babel/babel/issues/14289
30-
// package (and following line) can be removed once the issue is fixed and released
31-
"@babel/plugin-proposal-class-properties",
3229
[
3330
"@babel/plugin-transform-typescript",
3431
{
3532
"allowNamespaces": true,
3633
"allowDeclareFields": true
3734
}
3835
],
36+
// added to mitigate https://github.com/babel/babel/issues/14289
37+
// package (and following line) can be removed once the issue is fixed and released
38+
"@babel/plugin-proposal-class-properties",
3939
["@babel/plugin-proposal-object-rest-spread", { "loose": true }],
4040
"@babel/plugin-transform-react-constant-elements",
4141
"@babel/plugin-proposal-nullish-coalescing-operator",

0 commit comments

Comments
 (0)