webpack/node-libs-browser

alternative mapping for react-native

mvayngrib opened this issue · 2 comments

I'm trying to use this with react-native, but with additional shims for fs, dgram, dns.js and net. Right now I'm using a fork of this repo (and a fork of webpack because peerDependencies doesn't like git urls), but I thought maybe you had a better idea.

maybe that can be an option in webpack config - the ability to provide an alternate node-libs-browser?

sokra commented

You can provide alternatives via resolve.alias option.