parcel-plugin-graphql-raw
Some packages (like nanographql) uses plain-text GraphQL Schema instead of JSON, generated by graphql-tag.
Since GraphqlAsset uses graphql-tag, this plugin allows Parcel to export GraphQL files as plain text
Usage
Install plugin:
# via yarn yarn add -D parcel-plugin-graphql-raw# via npm npm i -D parcel-plugin-graphql-raw
Import GraphQL file (with .graphql or .gql extension):
;