Skip to content
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

[babel-plugin-relay] Feature Request: Multiple project support like swc-relay #4787

Open
vip30 opened this issue Sep 9, 2024 · 0 comments
Open

Comments

@vip30
Copy link

vip30 commented Sep 9, 2024

The config is just like what we did in swc-relay vercel/next.js#64890

  "relay": {
    "root": "..",
    "sources": {
      "shared": "shared",
      "web-app": "web-app"
    },
    "projects": {
      "shared": {
        "language": "typescript",
        "output": "shared/__generated__",
        "schema": "shared/schema.graphql"
      },
      "web-app": {
        "base": "shared",
        "language": "typescript",
        "output": "web-app/__generated__",
        "schema": "shared/schema.graphql"
      }
    }
  },

Currently, it cannot have any workaround to make it happen. I would like to use multiple project config for relay.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant