Open bkeph opened 2 years ago
Thanks @bkeph ! I have to admit, that I don't have a lot of experience with working monorepos, so I can't provide you with any quick fix.
I'm suspecting that some of the config/transformer is not pointing to the correct folder, and is failing because of that.
Maybe you can check that is the file path for babelTransformerPath
correct regarding the setup that you have?
same issue with turborepo.
config metro https://raw.githubusercontent.com/Enricopv/turbo-boilerplate/master/apps/rnative/metro.config.js
Same issue here, using Turborepo with NextJS and React Native
about .svgrrc file loading
https://github.com/kristerkari/react-native-svg-transformer/issues/217#issuecomment-1732500149
I have a monorepo containing multiple apps managed through yarn workspaces, each with it's own
metro.config.js
file.If I make the modifications above to the
metro.config.js
, I get the error:But if I move the
metro.config.js
to the root folder, it works properly. However, I cannot move it into the root folder, because each app has a different metro configuration.Why doesn't it work if the config is in the specific app folder, and how should I adapt the config in order to make it work?