gajus/babel-plugin-graphql-tag

Remove "source" field from emitted loc object

Open

#13 opened on May 2, 2018

 (4 comments) (0 reactions) (0 assignees)JavaScript (27 forks)github user discovery
enhancementhelp wantedquestion

Repository metrics

Stars
 (174 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Not sure if this is possible or needed by the babel plugin, but it would be great to remove the "source" part of the "loc" object. It seems to just be bloat since the query is preprocessed into other objects.

Contributor guide