We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8f08d commit 39f1361Copy full SHA for 39f1361
src/utils/configPaths.ts
@@ -1,4 +1,5 @@
1
import { normalizePath } from 'vite';
2
+import { resolve } from 'node:path';
3
import type { CodegenContext } from '@graphql-codegen/cli';
4
5
export async function getDocumentPaths(
@@ -52,5 +53,6 @@ export async function getSchemaPaths(
52
53
return schemas
54
.filter((schema): schema is string => typeof schema === 'string')
55
.filter(Boolean)
56
+ .map((schema) => resolve(schema))
57
.map(normalizePath);
58
}
0 commit comments