wevm / isows

Isomorphic WebSocket implementation for Node.js, Bun, Deno, React Native, and other modern runtimes.
Other
42 stars 5 forks source link

Adds support for the new react-native condition #9

Closed iketw closed 7 months ago

iketw commented 7 months ago

Adds support for the updated react-native community condition:

https://metrobundler.dev/docs/package-exports/#replacing-browser-and-react-native-fields

Tested by adding this new condition to the package from a newly created react-native app.

iketw commented 7 months ago

@jxom please, let me know if you want a sample app. I didn't provide one since the change is quite simple. Thanks

iketw commented 7 months ago

@tmm thanks for reviewing. Accepted the change and added the changeset