File tree Expand file tree Collapse file tree
gql-tag-operations-masking/gql
gql-tag-operations-urql/gql
persisted-documents-string-mode/src/gql
persisted-documents/src/gql
apollo-client-defer/src/gql
apollo-client-swc-plugin/src/gql
tanstack-react-query/src/gql
typescript-graphql-request/src/gql
apollo-composable/src/gql
plugins/typescript/gql-tag-operations/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @graphql-codegen/gql-tag-operations ' : patch
3+ ' @graphql-codegen/client-preset ' : patch
4+ ---
5+
6+ Add note about enabling bundle size reduction for the generated ` graphql ` tag file.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n fragment TweetFragment on Tweet {\n id\n body\n ...TweetAuthorFragment\n }\n' :
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query Foo {\n Tweets {\n id\n }\n }\n' : types . FooDocument ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query Foo {\n Tweets {\n id\n }\n }\n' : types . FooDocument ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query Foo {\n Tweets {\n id\n }\n }\n' : types . FooDocument ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import * as types from './graphql';
1010 * 3. It does not support dead code elimination, so it will add unused operations.
1111 *
1212 * Therefore it is highly recommended to use the babel or swc plugin for production.
13+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1314 */
1415const documents = {
1516 '\n query HelloQuery {\n hello\n }\n' : types . HelloQueryDocument ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query HelloQuery {\n hello\n }\n' : types . HelloQueryDocument ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n fragment SlowFieldFragment on Query {\n slowField(waitFor: 5000)\n }\n' : types . SlowFieldFragmentFragmentDoc ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n' :
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
1111 * 3. It does not support dead code elimination, so it will add unused operations.
1212 *
1313 * Therefore it is highly recommended to use the babel or swc plugin for production.
14+ * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
1415 */
1516const documents = {
1617 '\n query allFilmsWithVariablesQuery($first: Int!) {\n allFilms(first: $first) {\n edges {\n node {\n ...FilmItem\n }\n }\n }\n }\n' :
You can’t perform that action at this time.
0 commit comments