Replies: 2 comments 4 replies
-
|
Any help here? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can use the swc plugin https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#swc-plugin |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
In the preset-client docs there is a Babel plugin to reduce the bundle size:
https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size-babel-plugin
https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/src/babel.ts
We are using Vite/Rollup.
How we can use it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions