Skip to content

Netlify

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

  • netlify-cli

  • ^@netlify\/

If this plugin is enabled, the following configuration is added automatically:

{
"netlify": {
"config": [
"netlify.toml"
],
"entry": [
"netlify/functions/*.{js,mjs,cjs,ts,tsx,mts,cts}",
"netlify/functions/*/index.{js,mjs,cjs,ts,tsx,mts,cts}",
"netlify/functions/(*)/\\1.{js,mjs,cjs,ts,tsx,mts,cts}",
"netlify/edge-functions/*.{js,jsx,mjs,mts,ts,tsx}",
"netlify/edge-functions/*/index.{js,jsx,mjs,mts,ts,tsx}",
"netlify/edge-functions/(*)/\\1.{js,jsx,mjs,mts,ts,tsx}",
"netlify/server/index.{js,mjs,ts,mts}"
]
}
}

Depending on local configuration, plugins may modify the defaults as shown.

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

See Plugins for more details about plugins and their entry and config options.

This plugin is also enabled when a netlify.toml file is found.

This page was generated from the netlify plugin source code.

ISC License © 2026Lars Kappert