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

fix: avoid non-defined global error on web #30

Merged
merged 1 commit into from Jun 23, 2022

Conversation

AlanSl
Copy link
Contributor

@AlanSl AlanSl commented Jun 21, 2022

Closes #29

Uses an approach seen in many React Native + React Native Web projects to work out-of-the-box on web without requiring extra webpack config.

@gorhom
Copy link
Owner

gorhom commented Jun 23, 2022

thanks @AlanSl 🙌

@nareiqat-rbi
Copy link

can this fix be applied to bottom-sheet also?

@AlanSl AlanSl deleted the cautious-global branch December 2, 2022 21:57
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.

Error __DEV__ is not defined on Web if not patched manually in webpack
3 participants