Files
2026-06-24 14:20:05 +02:00

18 lines
353 B
TypeScript

import type { CodegenConfig } from '@graphql-codegen/cli'
const config: CodegenConfig = {
overwrite: true,
schema: 'http://localhost:4000/graphql',
documents: 'graphql/**/*.graphql',
generates: {
'generated/graphql/': {
preset: 'client',
presetConfig: {
fragmentMasking: false
}
}
}
}
export default config