-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
Very large code size on web #2683
Labels
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
react-native-gesture-handler is a very heavy dependency on web.
At a glance, both the web and native gesture / handler implementations are being included. I believe that by wrapping the underlying gestures in the GestureObject export, tree-shaking has been effectively disabled as well.
Steps to reproduce
Include
react-native-gesture-handler
on web.Snack or a link to a repository
n/a
Gesture Handler version
2.9.0
React Native version
0.71
Platforms
Web
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: