You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thanks for all the work on these codegen tools, the typescript generation has already helped cache multiple errors in my codebase!
I did try to get @graphql-codegen/client-preset-swc-plugin working with the latest version of nextjs (13.4.2) and haven't been able to observe any bundle size benefits. The chunk that contains all the grpahql queries is exactly the same whether that's enabled or not. Could it be a configuration issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! Thanks for all the work on these codegen tools, the typescript generation has already helped cache multiple errors in my codebase!
I did try to get @graphql-codegen/client-preset-swc-plugin working with the latest version of nextjs (13.4.2) and haven't been able to observe any bundle size benefits. The chunk that contains all the grpahql queries is exactly the same whether that's enabled or not. Could it be a configuration issue?
Here is my codegen config:
Here is my client-preset-swc-plugin config inside of next.config.js:
Size with plugin enabled:
Size with plugin disabled:
Any help would be appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions