Skip to content

GraphQL Codegen

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • ^@graphql-codegen\/

  • graphql-config

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"graphql-codegen": {
"config": [
"package.json",
"codegen.{json,yml,yaml,js,ts}",
".codegenrc.{json,yml,yaml,js,ts}",
"codegen.config.js",
".graphqlrc",
".graphqlrc.{json,yml,yaml,toml,js,ts}",
"graphql.config.{json,yml,yaml,toml,js,cjs,ts}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert