Skip to content

Yarn

This plugin is enabled when a yarn.lock file is found in the root directory, or when yarn@ is specified in the packageManager field of package.json.

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

{
"yarn": {
"config": [
".yarnrc.yml"
],
"entry": [
"yarn.config.cjs"
]
}
}

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 page was generated from the yarn plugin source code.

ISC License © 2026 Lars Kappert