Closed bimusiek closed 4 months ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Just for anyone looking for the same issue...
babelrc
file is limiting babel to only source files, does not touch node-modules
So remove this file and only rely on babel.config.js
. And it has to be located in projectRoot
so in our case inside the src
file.
Description
Hey, for past 2 days I am debuggin the integration of react-native-reanimated into our app. We had some issues with babel configuration, but finally I managed to make the plugin work with our configuration. However, when doing
console.log
from the inside of the plugin:it only goes through our
src
dir. But not thenode_modules/react-native-reanimated
. When I doconsole.log
from the babel custom transformer, it goes through all the files in the node modules.Anyone has an idea how to make babel plugin go through node_modules as well?
Our metro config:
And our babel config:
Steps to reproduce
n/a
Snack or a link to a repository
n/a
Reanimated version
3.11.0
React Native version
0.73.6
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
No response
Acknowledgements
Yes