How to minimize bundle size with client preset on types file? #10016
Unanswered
samoralespu
asked this question in
Q&A
Replies: 1 comment
-
This works for me #9988 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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