switch to hermes for react-native-codegen (#56024)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56024

Switch js/react-native-github/packages/react-native-codegen/package.json to use hermes instead of babel

Changelog: [internal]

Reviewed By: SamChou19815

Differential Revision: D95878474

fbshipit-source-id: 566e054abedc7062c34e1ea68f592071c2a83c6b
This commit is contained in:
Marco Wang
2026-03-10 13:53:04 -07:00
committed by meta-codesync[bot]
parent 1c79fd5bff
commit b8876b56b9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
{
"plugins": [
"babel-plugin-syntax-hermes-parser",
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-transform-class-properties",
@@ -45,6 +45,7 @@
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
"@babel/plugin-transform-optional-chaining": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"babel-plugin-syntax-hermes-parser": "0.33.3",
"hermes-estree": "0.33.3",
"micromatch": "^4.0.4",
"prettier": "3.6.2",