diff --git a/gatsby-source-graphcms/src/gatsby-node.js b/gatsby-source-graphcms/src/gatsby-node.js index 2f23a53..9f149d9 100644 --- a/gatsby-source-graphcms/src/gatsby-node.js +++ b/gatsby-source-graphcms/src/gatsby-node.js @@ -431,10 +431,10 @@ export function createResolvers( const resolvers = { [`${typePrefix}Asset`]: { - gatsbyImageData: getGatsbyImageResolver( - makeResolveGatsbyImageData(cache), - args - ), + gatsbyImageData: { + ...getGatsbyImageResolver(makeResolveGatsbyImageData(cache), args), + type: 'JSON', + }, }, }