We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d89c80e commit 765d4dfCopy full SHA for 765d4df
babel.config.js
@@ -1,3 +1,12 @@
1
module.exports = {
2
- presets: ['module:metro-react-native-babel-preset'],
+ overrides: [
3
+ {
4
+ exclude: /\/node_modules\//,
5
+ presets: ['module:react-native-builder-bob/babel-preset'],
6
+ },
7
8
+ include: /\/node_modules\//,
9
+ presets: ['module:@react-native/babel-preset'],
10
11
+ ],
12
};
package.json
@@ -81,6 +81,7 @@
81
"devDependencies": {
82
"@expo/config-plugins": "^7.9.1",
83
"@react-native-community/eslint-config": "3.2.0",
84
+ "@react-native/babel-preset": "0.81.0",
85
"@react-native/typescript-config": "0.73.1",
86
"@types/jest": "29.5.12",
87
"@types/react": "18.2.6",
0 commit comments