After inspecting the bundle with gatsby-plugin-webpack-bundle-analyzer I've found that apollo-client is included in the bundle, and it's probably this package that's having it as a dependency.
So why do we need to have apollo-client in production build? don't we only need to query the prismic API at build-time, not run-time?
After inspecting the bundle with gatsby-plugin-webpack-bundle-analyzer I've found that apollo-client is included in the bundle, and it's probably this package that's having it as a dependency. So why do we need to have apollo-client in production build? don't we only need to query the prismic API at build-time, not run-time?