gatsby-source-prismic-graphql icon indicating copy to clipboard operation
gatsby-source-prismic-graphql copied to clipboard

Apollo Client in production build

Open hazem3500 opened this issue 4 years ago • 0 comments

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?

hazem3500 avatar Aug 20 '20 08:08 hazem3500