-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test if process is defined in browser #2676
Labels
Comments
@pelikhan Thanks for taking the time to report it 👍 |
4 tasks
jneurock
added a commit
to miragejs/site
that referenced
this issue
Jul 15, 2020
samselikoff
pushed a commit
to miragejs/site
that referenced
this issue
Jul 15, 2020
Temporary workaround until this fix is in the release: Import an ES module with this content before importing GraphQL: |
Closed by #3501 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all!
First thanks for this very well written library. It's a breeze to work with it.
I am hitting a snag when compiling graphql into a ES6 library. The node.js
process
object is queried in a mjs file which crashes in the browser. It would be great to add a check to make sure process is defined.graphql-js/src/jsutils/instanceOf.js
Line 14 in 2736f45
Thanks!
The text was updated successfully, but these errors were encountered: