Open guugg opened 1 year ago
Do you understand that this repo is small wrapper around apollo lib.
import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core'
You should create the same issue in repo of apollo. Owner of this repo just simplify using it in vuejs.
Is your feature request related to a problem? Please describe.
I use vite to make a wordpress theme and use @vue/apollo-composable to get my article data. I followed the usage in the documentation to successfully get the list of articles.
Describe the solution you'd like
When I compiled using
pnpm build
, I found that the packagedJavaScript
was as high as232.82 kB ā gzip: 74.01 kB
, of whichgzip
compressed a small part. According to thesize limit report š¦
ofapollographql/apollo-client
, less than 50KB. But my import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core'` has 145KB.Describe alternatives you've considered
I see that it imports
dist/index.js
, and I usedist/index.js
to find that it is wrong.Additional context Add any other context or screenshots about the feature request here.