This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { GraphQLJSON } = require('gatsby/graphql'); | |
/* | |
I don't think we need to pathPrefixCacheStr this. | |
I would expect path prefixing to happen at the sourceNodes call and we are | |
parsing it's internal content which would have the prefixed changes. | |
New changes should change the digest in the sourceNodes call. | |
*/ | |
const richTextASTCacheKey = node => | |
`source-contentful-rich-text-AST-${node.internal.contentDigest}`; |