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 43e05dd commit bab31d1Copy full SHA for bab31d1
src/utils/type-generation.ts
@@ -98,7 +98,9 @@ export async function clientTypeGeneration(
98
}
99
const clientTypesPath = resolve(nitro.options.buildDir, 'types', 'nitro-graphql-client.d.ts')
100
const sdkTypesPath = resolve(nitro.graphql.clientDir, 'sdk.ts')
101
+ mkdirSync(dirname(clientTypesPath), { recursive: true })
102
writeFileSync(clientTypesPath, types.types, 'utf-8')
103
+ mkdirSync(dirname(sdkTypesPath), { recursive: true })
104
writeFileSync(sdkTypesPath, types.sdk, 'utf-8')
105
106
// Generate ofetch client for Nuxt framework
0 commit comments