diff --git a/gatsby-config.js b/gatsby-config.js index 4965b3b..3af3488 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -19,6 +19,22 @@ module.exports = { auth: {}, // Set to true to debug endpoints on 'gatsby build' verboseOutput: true, + includedRoutes: [ + "**/*/*/categories", + "**/*/*/events", + "**/*/*/posts", + "**/*/*/pages", + "**/*/*/media", + "**/*/*/tags", + "**/*/*/taxonomies", + "**/*/*/users", + ], + excludedRoutes: [ + "/yoast/**", + "**/*/*/comments", + "**/*/*/settings", + "**/*/*/users/me", + ], }, }, 'gatsby-plugin-sharp',