babel-plugin-import-graphql
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -35,6 +35,6 @@ "use strict"; | ||
var nestedPaths = getFilepaths(importSrc, filepath, resolve); | ||
var srcs = nestedPaths.length > 0 ? nestedPaths.reduce(function (srcArr, fp) { | ||
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, [importSrc]))); | ||
}, []) : [importSrc]; | ||
var srcs = nestedPaths.length > 0 ? _toConsumableArray(nestedPaths.reduce(function (srcArr, fp) { | ||
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, []))); | ||
}, [])).concat([importSrc]) : [importSrc]; | ||
return _toConsumableArray(srcs).concat(_toConsumableArray(acc)); | ||
} |
# ChangeLog | ||
## v2.6.1 (June 29, 2018) | ||
### Fixes | ||
- Fix duplicate code when using multiple imports in one schema file (Thanks @gregorycuellar) | ||
## v2.6.0 (June 16, 2018) | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "babel-plugin-import-graphql", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Babel plugin to make .gql/.graphql files importable", | ||
@@ -5,0 +5,0 @@ "author": "A.J. Roberts <detrohutt@gmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35852