babel-plugin-graphql-js-client-transform
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -24,3 +24,3 @@ /** | ||
* | ||
* Version: 1.0.1 Commit: df8e71a | ||
* Version: 1.0.1 Commit: d00fbde | ||
**/'use strict'; | ||
@@ -38,3 +38,3 @@ | ||
if (path.node.tag.callee.name === tag) { | ||
if (path.node.tag.callee && path.node.tag.callee.name === tag) { | ||
path.traverse(templateElementVisitor, { parentPath: path, clientId: path.node.tag.arguments[0] }); | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "babel-plugin-graphql-js-client-transform", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Babel plugin for transforming raw GraphQL queries into graphql-js-client query builder syntax", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
136846