(hopefully) invalidate gatsby cache

This commit is contained in:
Chuck Dries 2022-06-21 12:21:14 -07:00
parent 7a77bfbe78
commit 15c8f57e98
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -156,7 +156,6 @@ exports.onCreateNode = async function ({ node, actions }) {
// data layer is bootstrapped to let plugins create pages from data. // data layer is bootstrapped to let plugins create pages from data.
exports.createPages = async ({ graphql, actions, reporter }) => { exports.createPages = async ({ graphql, actions, reporter }) => {
const { createPage } = actions; const { createPage } = actions;
// get all images
const galleryImages = await graphql(` const galleryImages = await graphql(`
{ {
allFile(filter: { sourceInstanceName: { eq: "gallery" } }) { allFile(filter: { sourceInstanceName: { eq: "gallery" } }) {