You’re a good man Charlie Brown! Worked like dang charm!!
Jun 5, 2020, 7:31 PM
what is your use case for this?
Jun 5, 2020, 8:15 PM
I reuse a Sanity/Gatsby install with “modules”, and manage both with a single config.js file. Its still very much a work in progress, but it works pretty well. So for this specifically. In the config file I have something like
and I use that to dictate if it shows in the Sanity Desk as well as if Gatsby builds out those pages.