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
The following setup needed for VSCode Relay extension to work with monorepos, doesn't work with vite-plugin-relay and throws ReferenceError: require is not defined where graphql template literal imported from react-relay is present.
If you put apps/app/relay.config.json file with eagerEsModules: true it will work. This hints me that the root relay.config.json is not read and respected, but I may be wrong.
The following setup needed for VSCode Relay extension to work with monorepos, doesn't work with
vite-plugin-relay
and throwsReferenceError: require is not defined
wheregraphql
template literal imported fromreact-relay
is present.If you put
apps/app/relay.config.json
file witheagerEsModules: true
it will work. This hints me that the rootrelay.config.json
is not read and respected, but I may be wrong.relay.config.js
The text was updated successfully, but these errors were encountered: