Skip to content

Commit

Permalink
feat(react-native): add useTransformReactJSX babel config to generato…
Browse files Browse the repository at this point in the history
…rs (nrwl#19170)
  • Loading branch information
Tobbb authored Jan 30, 2024
1 parent 647f41f commit 2f5bca0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"presets": ["module:metro-react-native-babel-preset"]
"presets": [
[
"module:metro-react-native-babel-preset",
{
"useTransformReactJSX": true
}
]
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"plugins": [],
"env": {
"test": {
"presets": ["module:metro-react-native-babel-preset"]
"presets": [
["module:metro-react-native-babel-preset", { "useTransformReactJSX": true }]
]
}
}
}

0 comments on commit 2f5bca0

Please sign in to comment.