mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01: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:
parent
17d274dc12
commit
99563e9173
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user