mirror of
https://github.com/facebook/react.git
synced 2026-02-21 19:31:52 +00:00
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.
This commit is contained in:
@@ -4,8 +4,7 @@ module.exports = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
'@babel/plugin-syntax-jsx',
|
'@babel/plugin-syntax-jsx',
|
||||||
'@babel/plugin-transform-flow-strip-types',
|
'@babel/plugin-transform-flow-strip-types',
|
||||||
['@babel/plugin-transform-class-properties', {loose: true}],
|
['@babel/plugin-proposal-class-properties', {loose: true}],
|
||||||
'@babel/plugin-transform-classes',
|
|
||||||
'syntax-trailing-function-commas',
|
'syntax-trailing-function-commas',
|
||||||
[
|
[
|
||||||
'@babel/plugin-proposal-object-rest-spread',
|
'@babel/plugin-proposal-object-rest-spread',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"@babel/plugin-transform-block-scoped-functions": "^7.10.4",
|
"@babel/plugin-transform-block-scoped-functions": "^7.10.4",
|
||||||
"@babel/plugin-transform-block-scoping": "^7.11.1",
|
"@babel/plugin-transform-block-scoping": "^7.11.1",
|
||||||
"@babel/plugin-transform-class-properties": "^7.25.9",
|
"@babel/plugin-transform-class-properties": "^7.25.9",
|
||||||
"@babel/plugin-transform-classes": "^7.25.9",
|
"@babel/plugin-transform-classes": "^7.10.4",
|
||||||
"@babel/plugin-transform-computed-properties": "^7.10.4",
|
"@babel/plugin-transform-computed-properties": "^7.10.4",
|
||||||
"@babel/plugin-transform-destructuring": "^7.10.4",
|
"@babel/plugin-transform-destructuring": "^7.10.4",
|
||||||
"@babel/plugin-transform-for-of": "^7.10.4",
|
"@babel/plugin-transform-for-of": "^7.10.4",
|
||||||
|
|||||||
Reference in New Issue
Block a user