Closed kbrandwijk closed 6 years ago
That should be simple enough; we'd just need to add cpy-cli
and add a step to the package.json build process to copy .graphql
files.
This would be a great first contribution for someone. hint hint wink nudge nudge 😄
Or second...
I wasn't talking about you, @kbrandwijk. :)
Oops ^^ Aaaand... it's done...
Currently, the schema file is read in the index file, and injected by babel. The
.graphql
file itself is not included in the build. In order to generate compile-time bindings when using a datasource, the schema file itself is needed. Can this be included in the build output by default?