browserify-zlib icon indicating copy to clipboard operation
browserify-zlib copied to clipboard

Add react-native compatability

Open dotted opened this issue 10 years ago • 2 comments

The React Native packager doesn't have a way of automatically replacing requires of core node libraries with browser compatible alternatives. However facebook/react-native#2208 allows the packager to override modules returned by require, but the override must be specified by the packages directly dependent on the node core module, hence this PR.

dotted avatar Jan 08 '16 10:01 dotted

I know this is late, but is this still needed, or has a better solution emerged for react-native?

dignifiedquire avatar Jun 03 '17 15:06 dignifiedquire

I don't know, I'm currently not using React Native and haven't been following its development close enough to know if the situation has changed.

dotted avatar Jun 03 '17 16:06 dotted