facebook / facebook/relay

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

Open
#4,787 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

The config is just like what we did in swc-relay https://github.com/vercel/next.js/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.