Transformation options may also be provided:
-
defaultGqlIdentifierName
- The default GraphQL string parser identifier to look for. Defaults togql
, unless imported as something else from thegraphql-tag
package. This behavior can also be changed, see thegqlPackName
option. -
gqlMagicComment
- The magic comment anchor to look for when parsing GraphQL strings. Defaults tographql
, which may be translated into/* GraphQL */
in code. -
gqlPackName
- The name of the package that is responsible for exporting the GraphQL string parser function. Defaults tographql-tag
.
I recommend you to look at the source code for a clearer understanding of the transformation options.