Replies: 1 comment 4 replies
-
The sourcing must be set up somewhere, Gatsby doesn't automatically picks those files up. You can run this query to check with plugin and with path is sourcing the files: {
allFile {
nodes {
sourceInstanceName
absolutePath
internal {
owner
}
}
}
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use
gatsby-source-filesystem
to take in markdown files for articles. It's limited by directory, e.g.content/blog-posts
.I'm using graphiql during development to see what gets sourced, and Gatsby is processing markdown files from the entire project, like my top-level README and directories I did not configured to be sourced.
Is this normal behavior? I've used the
ignore
option ongatsby-source-filesystem
for READMEs, but that didn't work. How can I prevent these files from being sourced?Beta Was this translation helpful? Give feedback.
All reactions