-
I am using GraphQL Codegen in a project based on Next.js. I have a large GraphQL API and my types are all generated to the same But I am also using Type Document Node generated to the same operations file and because of this my HUGE I have looked into various ways of setting up my I may have missed some settings for the I looked into this Decouple typed-document-node plugin from typescript and typescript-operations where @ngregory-rbi had a similar issue and resolved it using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found a solution to the issue. Split my
Made my bundlesize 80 kb smaller - yeah! |
Beta Was this translation helpful? Give feedback.
I found a solution to the issue.
Split my
codegen.ts
generates into 2 separate sections: