Skip to content

Commit 99563e9

Browse files
authored
Partially revert #32588 (#32621)
#32588 changed the babel config impacting local tests, and I'm not able to run test: <img width="1354" alt="Screenshot 2025-03-15 at 2 37 00 PM" src="https://github.com/user-attachments/assets/2d4afe39-6ab6-4c83-87a9-ceb0ee5f8df5" /> This PR reverts those changes until we can re-land with a fix.
1 parent 17d274d commit 99563e9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: babel.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ module.exports = {
44
plugins: [
55
'@babel/plugin-syntax-jsx',
66
'@babel/plugin-transform-flow-strip-types',
7-
['@babel/plugin-transform-class-properties', {loose: true}],
8-
'@babel/plugin-transform-classes',
7+
['@babel/plugin-proposal-class-properties', {loose: true}],
98
'syntax-trailing-function-commas',
109
[
1110
'@babel/plugin-proposal-object-rest-spread',

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@babel/plugin-transform-block-scoped-functions": "^7.10.4",
2222
"@babel/plugin-transform-block-scoping": "^7.11.1",
2323
"@babel/plugin-transform-class-properties": "^7.25.9",
24-
"@babel/plugin-transform-classes": "^7.25.9",
24+
"@babel/plugin-transform-classes": "^7.10.4",
2525
"@babel/plugin-transform-computed-properties": "^7.10.4",
2626
"@babel/plugin-transform-destructuring": "^7.10.4",
2727
"@babel/plugin-transform-for-of": "^7.10.4",

0 commit comments

Comments
 (0)