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