Static queries not working in Storybook when using Prismic Gatsby source plugins

@Pau thanks for looking into this and for your response.

Since posting this I tried removing the Prismic integration and only queried data from the gatsby-config siteMetadata and still got the same errors, so it seems like this isn’t a problem with the Prismic plugin. I’ve raised issues with Gatsby and Storybook so hopefully one of them will work out what’s causing this. :crossed_fingers: