Skip to content

fix: add react-navigation export to package.json #44

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

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

natew
Copy link
Contributor

@natew natew commented Oct 14, 2024

Yo! Awesome work with this library, was testing it out with onestack.dev and this makes things a bit easier to set up with Vite.

@okwasniewski
Copy link
Collaborator

okwasniewski commented Oct 15, 2024

Hey, thanks for opening the PR!

Do you think this react-navigation/package.json is now also required?

https://github.com/okwasniewski/react-native-bottom-tabs/blob/main/react-navigation/package.json

Im not sure if both of them are needed

@natew
Copy link
Contributor Author

natew commented Oct 15, 2024

I’m not sure I think that may be for metro or older node - what I’ve typically done is just added a new file like react-native.js at the root that they will use and that file just re-exports things from the right dist folder. I can link to that pattern later when I’m back from dinner.

Copy link
Collaborator

@okwasniewski okwasniewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, let's leave the react-navigation/package.json to keep compatibility with older node as you mentioned

@okwasniewski okwasniewski merged commit 2b1c536 into callstackincubator:main Oct 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants