WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.47k stars 717 forks source link

React Native/Expo Bundle Size #5280

Open anudit opened 3 months ago

anudit commented 3 months ago

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

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

linear[bot] commented 3 months ago

CR-505 React Native/Expo Bundle Size