Skip to content
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

include factory.js instead of .mjs on react-native #20

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

danilobuerger
Copy link
Contributor

Currently react-native (more specifically metro) doesn't handle mjs. See: facebook/metro#535

@eemeli
Copy link
Owner

eemeli commented Aug 26, 2020

I'm fine in principle with including this as a stopgap if it helps in Metro, but could you point me to some docs that specify this "react-native" field? A few minutes of searching didn't really give me anything.

@danilobuerger
Copy link
Contributor Author

@eemeli I don't know if there is any documentation, but here is the metro commit: facebook/metro@e88322d

@eemeli
Copy link
Owner

eemeli commented Aug 26, 2020

It's frankly ridiculous that that's the best documentation that's available, but the implementation certainly appears to treat it the same way as "browser" works. Thank you for digging it up!

@eemeli eemeli merged commit 749f5b7 into eemeli:master Aug 26, 2020
@danilobuerger
Copy link
Contributor Author

Yeah, I agree. Thanks for merging it anyway!

@danilobuerger danilobuerger deleted the patch-1 branch August 26, 2020 16:28
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