How to minimize bundle size with client preset on types file? #10016
Unanswered
samoralespu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I created a codegen file as follows:
It generates all files correctly, the issue waS when I tried to build my project, the bundle size was too big for the files generated:
So I decided to minimize the bundle size with babel as the guide sugested:
The issue is that it only reducedd the gql.ts file, but the graphql.ts (the types file) is still there:
How can I minimize this bundle size?
Beta Was this translation helpful? Give feedback.
All reactions