Skip to content

Commit

Permalink
Merge pull request #400 from AleksanderBondar/master
Browse files Browse the repository at this point in the history
fix: correct import of gql in es module
  • Loading branch information
aexol authored Jun 5, 2024
2 parents ca77d65 + 7769551 commit e468732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphql-zeus/plugins/typedDocumentNode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ProjectOptions } from '@/config.js';

export const pluginTypedDocumentNode = ({ esModule, node }: Partial<ProjectOptions>) => `/* eslint-disable */
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
import gql from 'graphql-tag';
import ${esModule ? "{ gql }" : "gql"} from 'graphql-tag';
import {
ValueTypes,
GenericOperation,
Expand Down

0 comments on commit e468732

Please sign in to comment.