@samitouri / QOS-React / commits / 99563e9173

Partially revert #32588 (#32621)

https://github.com/facebook/react/pull/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.

Ricky committed Mar 15, 2025 at 15:21 UTC 99563e91736e9de473c4865d5cb6fd9eb1a26bcb
2 files changed +2 -3
babel.config.js
+1 -2
@@ -4,8 +4,7 @@ module.exports = {
4 plugins: [
5 '@babel/plugin-syntax-jsx',
6 '@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}],
8 'syntax-trailing-function-commas',
9 [
10 '@babel/plugin-proposal-object-rest-spread',
package.json
+1 -1
@@ -21,7 +21,7 @@
21 "@babel/plugin-transform-block-scoped-functions": "^7.10.4",
22 "@babel/plugin-transform-block-scoping": "^7.11.1",
23 "@babel/plugin-transform-class-properties": "^7.25.9",
24 - "@babel/plugin-transform-classes": "^7.25.9",
24 + "@babel/plugin-transform-classes": "^7.10.4",
25 "@babel/plugin-transform-computed-properties": "^7.10.4",
26 "@babel/plugin-transform-destructuring": "^7.10.4",
27 "@babel/plugin-transform-for-of": "^7.10.4",