-
Notifications
You must be signed in to change notification settings - Fork 683
Add polyfill for http and https #2345
Add polyfill for http and https #2345
Conversation
I tested this by using ganache in a react app. I worked well with the dev server, but if I perform a production optimized build I get a compiler error |
I couldn't get the URL error fixed easily. Any idea how to go at this? I thought I can polyfill this, but it doesn't work and now I was thinking about using a wrapper library such as |
The browser has a native |
Yes. I found an article that it should be possible just to remove the import. But this doesn't work in all places (it does in some) |
96d6c7f
to
47d583d
Compare
892c68f
to
0e9642f
Compare
Contributes to #1245
Changes:
http
polyfill tostream-http
https
polyfill tohttps-browserify
Notes:
isomporphic-ws
was already set