diff --git a/gatsby-node.js b/gatsby-node.js index a046d1249..cf7e593c1 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -59,7 +59,6 @@ exports.createPages = async ({ actions, graphql, reporter }) => { exports.onCreateNode = ({ node, actions }) => { // if we don't have a relative path, attempt to get one - if (node.context && !node.context.fileRelativePath) { const { createPage } = actions; const { path, component } = node;