Skip to content

Commit

Permalink
Added support for loading tags from babel-plugin-relay/macro as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Feb 16, 2021
1 parent d9ed7d8 commit 856c520
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/chatty-chairs-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphql-tools/graphql-tag-pluck': patch
'@graphql-tools/code-file-loader': patch
---

Added support for loading tags from babel-plugin-relay/macro as well
4 changes: 4 additions & 0 deletions packages/graphql-tag-pluck/src/visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const defaults: GraphQLTagPluckOptions = {
name: 'relay-runtime',
identifier: 'graphql',
},
{
name: 'babel-plugin-relay/macro',
identifier: 'graphql',
},
{
name: 'apollo-boost',
identifier: 'gql',
Expand Down

0 comments on commit 856c520

Please sign in to comment.