Skip to content
Advertisement

Tag: gatsby-theme

gatsby-source-filesystem not sourcing files from site directory when used in a theme

I’m trying to build a gatsby theme that uses gatsby-source-filesystem to source images. I have set up a yarn workspace for development, my folder structure looks like this. The yarn workspace is also set up correctly and the gatsby-theme-example is a dependency of it. yarn workspaces info correctly shows it in workspaceDependencies. Both workspaces have a gatsby-config.js file, the gatsby-theme-example

Advertisement