Skip to content

Gatsby

Enabled

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

  • gatsby

  • gatsby-cli

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"gatsby": {
"config": [
"gatsby-{config,node}.{js,jsx,ts,tsx}",
"plugins/**/gatsby-node.{js,jsx,ts,tsx}"
],
"entry": [
"gatsby-{browser,ssr}.{js,jsx,ts,tsx}",
"src/api/**/*.{js,ts}",
"src/pages/**/*.{js,jsx,ts,tsx}",
"src/templates/**/*.{js,jsx,ts,tsx}",
"src/html.{js,jsx,ts,tsx}",
"plugins/**/gatsby-{browser,ssr}.{js,jsx,ts,tsx}"
]
}
}

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

See Plugins for more details.

ISC License © 2024 Lars Kappert