Copy 'persisted-documents.json' after it is built #9801
Unanswered
onionhammer
asked this question in
Q&A
Replies: 1 comment
-
|
It’s problematic for monorepo projects that persisted query manifests can only be generated via the client preset and that their location isn’t configurable. I ended up working around this by copying the generated manifest hooks: {
+ afterAllFileWrite: [
+ () => exec("cp ... ...").then(() => {}), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a
graphql-codegen --watchrunning, and it seems plugins run before that file is generated, so I'm wondering if there's a way to tap into the generation of that file and copy it somewhere elseBeta Was this translation helpful? Give feedback.
All reactions