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

React Native/Expo Bundle Size #5280

Open
anudit opened this issue Aug 17, 2024 · 1 comment
Open

React Native/Expo Bundle Size #5280

anudit opened this issue Aug 17, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@anudit
Copy link

anudit commented Aug 17, 2024

Describe the bug

After setting up WalletConnect on a react-native/expo app (works very smoothly, thanks!) the WalletConnect libraries add 2MB to the JS Bundle, of which @walletconnect/utils/dist/index.cjs.js alone is included over 5 times adding 1.28MB

This might be a metro bundler issue, idk?

image

SDK Version

  • "expo": "^51.0.28",
  • "react-native": "0.74.5",
  • "@walletconnect/react-native-compat": "^2.15.0",

To Reproduce
EXPO_UNSTABLE_ATLAS=1 bunx expo export && bunx expo-atlas on any expo project

@anudit anudit added the type: bug Something isn't working label Aug 17, 2024
Copy link

linear bot commented Aug 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant