Skip to content

Conversation

@slorber
Copy link

@slorber slorber commented Jul 13, 2019

I guess there is no src/index.js because we are writing TS ;)

it's also found here: https://github.com/react-navigation/core/blob/master/package.json#L6

I guess there is no src/index.js because we are writing TS ;) it's also found here: https://github.com/react-navigation/core/blob/master/package.json#L6
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.js",
"react-native": "lib/module/index.js",
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the PR. This should be index.tsx for TypeScript projects (unless you're supporting old versions of React Native without TypeScript support):

Suggested change
"react-native": "lib/module/index.js",
"react-native": "src/index.tsx",
@satya164
Copy link
Member

satya164 commented Feb 9, 2020

Closing as the example is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants