fix: process is undefined when used in browser#1257
fix: process is undefined when used in browser#1257milosdanilov wants to merge 1 commit intographql:masterfrom
Conversation
|
Does this still result in the correct behavior for packagers like Webpack? Could you share a bit more information about how you're using graphql in the browser? Typically these production environment checks are replaced with |
|
I am using I can add a plunkr to simulate this, if its needed. |
|
@leebyron Could we get a release with this change? |
|
Hi @leebyron @IvanGoncharov, I unfortunately cannot upgrade to v14 yet. Any chance we could back-port this to a 0.13.3 release? Happy to open a PR, but I didn't see a 0.13.x branch to open it against. |
|
Hi @seanparmelee
Currently, we have a very limited resource, so I don't think supporting pre-stable releases make sense. |
When this library is used in browser, global variable
processis undefined. This issue is related to earlier #1058.