Skip to content

Commit eac78fa

Browse files
testing babel plugin
1 parent 277cc74 commit eac78fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugins/node/instrumentation-react-native-navigation/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = api => {
22
api.cache(false);
33

44
return {
5-
presets: ['module:metro-react-native-babel-preset'],
5+
presets: ['module:metro-react-native-babel-preset', '@babel/preset-env'],
66
plugins: ['babel-plugin-react-native-web'],
77
};
88
};

plugins/node/instrumentation-react-native-navigation/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
"react-dom": ">=18.0.0"
4949
},
5050
"devDependencies": {
51-
"@opentelemetry/api": "^1.3.0",
5251
"@babel/core": "^7.24.9",
52+
"@babel/preset-env": "^7.25.2",
5353
"@babel/register": "^7.24.6",
54+
"@opentelemetry/api": "^1.3.0",
5455
"@opentelemetry/sdk-trace-base": "^1.25.1",
5556
"@react-navigation/native": "^6.1.18",
5657
"@testing-library/react": "^16.0.0",

0 commit comments

Comments
 (0)