@anders-nom/babel-plugin-import-graphql-string
Advanced tools
Comparing version 2.8.1-8 to 2.8.1-9
@@ -54,5 +54,5 @@ "use strict"; | ||
var srcs = nestedPaths.length > 0 ? _toConsumableArray(nestedPaths.reduce(function (srcArr, fp) { | ||
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, []))); | ||
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, [], _toConsumableArray(nestedPaths).concat(_toConsumableArray(previouslyImported))))); | ||
}, [])).concat([importSrc]) : [importSrc]; | ||
return _toConsumableArray(srcs).concat(_toConsumableArray(acc)); | ||
} |
{ | ||
"name": "@anders-nom/babel-plugin-import-graphql-string", | ||
"version": "2.8.1-8", | ||
"version": "2.8.1-9", | ||
"description": "Babel plugin to make .gql/.graphql files importable", | ||
@@ -5,0 +5,0 @@ "author": "A.J. Roberts <detrohutt@gmail.com>", |
25583