amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
17.93k stars 1.16k forks source link

lets play nice with react-native(metro) #1344

Closed bmatusiak closed 6 months ago

bmatusiak commented 7 months ago

expo/react-native does not like the use of require(var) so the work around is to re name it

bmatusiak commented 7 months ago

also @amark we need to run a unbuild update if possible ( look like src folders are out of date) let me know if you want me to run that.

amark commented 6 months ago

😭 😭 😭 6 years ago this was originally how we fixed things, but then it broke so we switched to 5 other approaches over each half year. So I always get nervous about these...by chance have a checklist of this working in:

bmatusiak commented 6 months ago

this may be no longer needed, because of https://github.com/amark/gun/pull/1254