Using relative paths inside a native module #410
Unanswered
cesar-medina-25
asked this question in
Q&A
Replies: 2 comments
-
I have the same issue, did you fix it somehow @cesar-medina-25 ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
try: npx react-native-builder-bob init |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to use relative paths in a bob builder module?
This is the current import:
LoginForm is located at src/components/ so I added it to paths in tsconfig:
babel.config.js
bob.config.js
Then when I run the command "yarn example ios" it shows an error:
If I run "yarn prepare" it builds the lib folder and resolves the correct path:
but running from example doesn't resolve relative paths in the module.
Beta Was this translation helpful? Give feedback.
All reactions