---
url: /reference/api/Interface.Workspace.md
---
# Interface: Workspace

Defined in: [src/config/types.ts:118](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L118)

## Properties

### config?

```ts
optional config?: string | boolean;
```

Defined in: [src/config/types.ts:136](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L136)

Path to the workspace configuration file.

***

### exclude?

```ts
optional exclude?: Arrayable<string>;
```

Defined in: [src/config/types.ts:131](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L131)

Exclude directories from workspace.
Defaults to all `node_modules`, `dist`, `test`, `tests`, `temp`, and `tmp` directories.

#### Default

```ts
;['**/node_modules/**', '**/dist/**', '**/test?(s)/**', '**/t?(e)mp/**']
```

***

### include?

```ts
optional include?: string[] | string & object | "auto";
```

Defined in: [src/config/types.ts:124](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/config/types.ts#L124)

Workspace directories. Glob patterns are supported.

* `auto`: Automatically detect `package.json` files in the workspace.

#### Default

```ts
'auto'
```
