Skip to content

Commit c21c915

Browse files
committed
expo 45 fix
1 parent 60a132d commit c21c915

File tree

2 files changed

+268
-5
lines changed

2 files changed

+268
-5
lines changed

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
"react-native-gesture-handler": ">=1.10.1",
4040
"react-native-reanimated": ">=2.8.0"
4141
},
42+
"dependencies": {
43+
"@babel/preset-typescript": "^7.17.12"
44+
},
4245
"devDependencies": {
4346
"@types/react": "^17.0.5",
4447
"@types/react-native": "^0.64.5",
@@ -50,6 +53,7 @@
5053
"react-native-builder-bob": "^0.18.1",
5154
"react-native-gesture-handler": "^1.10.3",
5255
"react-native-reanimated": "^2.8.0",
56+
"metro-react-native-babel-preset": "^0.71.0",
5357
"typescript": "^4.2.4"
5458
},
5559
"react-native-builder-bob": {
@@ -62,7 +66,12 @@
6266
"configFile": "./babel.config.js"
6367
}
6468
],
65-
"module",
69+
[
70+
"module",
71+
{
72+
"configFile": "./babel.config.js"
73+
}
74+
],
6675
"typescript"
6776
]
6877
}

0 commit comments

Comments
 (0)