Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Apollo Client in production build #249

Open
hazem3500 opened this issue Aug 20, 2020 · 0 comments
Open

Apollo Client in production build #249

hazem3500 opened this issue Aug 20, 2020 · 0 comments

Comments

@hazem3500
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant