Skip to content

Commit b8876b5

Browse files
marcoww6meta-codesync[bot]
authored andcommitted
switch to hermes for react-native-codegen (facebook#56024)
Summary: Pull Request resolved: facebook#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
1 parent 1c79fd5 commit b8876b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-native-codegen/.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"plugins": [
3+
"babel-plugin-syntax-hermes-parser",
34
"@babel/plugin-transform-flow-strip-types",
45
"@babel/plugin-syntax-dynamic-import",
56
"@babel/plugin-transform-class-properties",

packages/react-native-codegen/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
4646
"@babel/plugin-transform-optional-chaining": "^7.24.8",
4747
"@babel/preset-env": "^7.25.3",
48+
"babel-plugin-syntax-hermes-parser": "0.33.3",
4849
"hermes-estree": "0.33.3",
4950
"micromatch": "^4.0.4",
5051
"prettier": "3.6.2",

0 commit comments

Comments
 (0)