@graphql-codegen/gql-tag-operations 1.3.1 → 1.3.2-alpha-8565e86c3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.js CHANGED
@@ -15,7 +15,7 @@ const plugin = (_, __, { sourcesWithOperations, useTypeImports, augmentedModuleN
15
15
  }
16
16
  if (augmentedModuleName == null) {
17
17
  return [
18
- `import * as graphql from './graphql.js';\n`,
18
+ `import * as graphql from './graphql';\n`,
19
19
  `${useTypeImports ? 'import type' : 'import'} { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n`,
20
20
  `\n`,
21
21
  ...getDocumentRegistryChunk(sourcesWithOperations),
package/esm/index.js CHANGED
@@ -12,7 +12,7 @@ export const plugin = (_, __, { sourcesWithOperations, useTypeImports, augmented
12
12
  }
13
13
  if (augmentedModuleName == null) {
14
14
  return [
15
- `import * as graphql from './graphql.js';\n`,
15
+ `import * as graphql from './graphql';\n`,
16
16
  `${useTypeImports ? 'import type' : 'import'} { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';\n`,
17
17
  `\n`,
18
18
  ...getDocumentRegistryChunk(sourcesWithOperations),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/gql-tag-operations",
3
- "version": "1.3.1",
3
+ "version": "1.3.2-alpha-8565e86c3.0",
4
4
  "description": "GraphQL Code Generator plugin for generating a typed gql tag function",
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",