---
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user