-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make it work with workspaces? #217
Comments
Thanks for all the details that you provided! I don't have experience with Yarn workspaces, but hopefully there is someone else that could help you out. |
fyi this is working for me in monorepo (initially had wrong config, so noticed this issue and figured I'd let you know it does work. im using latest expo/RN/metro)
|
For those who can't figured out why .svgrrc config is not readed for monorepo setup, it's should met 2 conditions:
|
Hi, this is a convoluted use case but I'm stuck and maybe you have an idea on how to solve this.
I'm using yarn workspaces on my repo, that is because I need to share some code between our desktop app and our mobile app. Everything works well, until I try to integrate rn-svg-transformer metro config, here is a diff of the changes:
You can see it is a mix of the changes in the README and a package I'm using which helps me ignore the hoisted dependencies from yarn workspaces.
The problem is, once metro starts packaging the code, it crawls one of the yarn workspace dependencies and then promptly fails with an error I have never seen, nor a clear cause for the issue:
Any idea what could be wrong here?
The text was updated successfully, but these errors were encountered: