---
title: "extends in devlanes.yaml"
url: https://devlanes.run/docs/reference/config/project/extends/
description: "Reference for the extends key in devlanes.yaml."
---

# extends in devlanes.yaml

A top-level key of [`devlanes.yaml`](/docs/reference/config/project/).

## `extends`

Type: string or list of strings.

Other project files this one builds on: one path or a list, relative to this file, such as `devlanes.yaml` for a `devlanes.prod.yaml` that runs the same apps another way. They are merged in order, each with its own `.local.yaml`, then this file and its `.local.yaml` go last, so later files win. Mappings merge by key and lists and single values replace, as with local overrides. An extended file may be partial and its `project` is ignored; paths in it mean what they would in this file.

```yaml devlanes
extends: devlanes.yaml
```
