Skip to content

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

Merged
okwasniewski merged 1 commit intocallstack:mainfrom
natew:add-exports
Oct 16, 2024
Merged

fix: add react-navigation export to package.json#44
okwasniewski merged 1 commit intocallstack:mainfrom
natew:add-exports

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 callstack:main Oct 16, 2024
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