birkir / gatsby-source-prismic-graphql

Gatsby source plugin for Prismic GraphQL
MIT License
137 stars 75 forks source link

Apollo Client in production build #249

Open hazem3500 opened 3 years ago

hazem3500 commented 3 years ago

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?