Closed Markionium closed 4 months ago
Relay supports writing artifacts to a separate directory. https://relay.dev/docs/guides/type-emission/#single-artifact-directory
In a mono repo with multiple packages writing the artefacts inside other packages in the repo isn't ideal. There might also be conflicting compilers.
This PR adds the artifactDirectory option to the webpack loader to be able to specify where to get the generated documents.
artifactDirectory
Relay supports writing artifacts to a separate directory. https://relay.dev/docs/guides/type-emission/#single-artifact-directory
In a mono repo with multiple packages writing the artefacts inside other packages in the repo isn't ideal. There might also be conflicting compilers.
This PR adds the
artifactDirectory
option to the webpack loader to be able to specify where to get the generated documents.