-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Description
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
export default process.env.NODE_ENV === 'production' |
Thanks!
schrotie and bennypowers