You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Which leads to where I suspect the source of the trouble is coming from:
'use strict';var_extends3=_interopRequireDefault(require('babel-runtime/helpers/extends'));function_interopRequireDefault(obj){returnobj&&obj.__esModule ? obj : {'default': obj};}// As early as possible, check for the existence of the JavaScript globals which// React Relay relies upon, and produce a clear message if they do not exist.if(process.env.NODE_ENV!=='production'){if(typeofMap!=='function'||typeofSet!=='function'||typeofPromise!=='function'||typeofObject.assign!=='function'||typeofArray.prototype.find!=='function'){thrownewError('react-relay requires Map, Set, Promise, Object.assign, and Array#find '+'to exist. Use a polyfill to provide these for older browsers.');}}// By default, assume that GraphQL is served at `/graphql` on the same domain.// To override, use `Relay.injectNetworkLayer`.require('./RelayStore').injectDefaultNetworkLayer(new(require('./RelayDefaultNetworkLayer'))('/graphql'));module.exports=(0,_extends3['default'])({},require('./RelayPublic'),{// Expose the default network layer to allow convenient re-configuration.DefaultNetworkLayer: require('./RelayDefaultNetworkLayer')});
I'd be grateful to know if there's some option or plugin that I'm not using properly or at all, or whether this is indeed something weird going on here. Sorry if this is in the wrong repo, I wasn't sure where the problem, if any, could be.
The text was updated successfully, but these errors were encountered:
I think I've found an issue somewhat similar to #150, where classes don't have their superclasses defined.
The problem is happening with classes extending
Mutation
fromreact-relay/classic
:This is bundled by Rollup into something like the following:
_Mutation
being an argument of this function, you end up with this error when you try to use this export:I looked into
react-relay/classic
to see how the exports were structured:Which leads to where I suspect the source of the trouble is coming from:
I'd be grateful to know if there's some option or plugin that I'm not using properly or at all, or whether this is indeed something weird going on here. Sorry if this is in the wrong repo, I wasn't sure where the problem, if any, could be.
The text was updated successfully, but these errors were encountered: