﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>---
url: /reference/api/Interface.Workspace.md
---
# Interface: Workspace

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

## Properties

### config?

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

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

Path to the workspace configuration file.

***

### exclude?

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

Defined in: [src/config/types.ts:131](https://github.com/rolldown/tsdown/blob/7fd0ebe7ca576f0210043cd29809a1ad0ec33410/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
include?: string[] | string & object | "auto";
```

Defined in: [src/config/types.ts:124](https://github.com/rolldown/tsdown/blob/7fd0ebe7ca576f0210043cd29809a1ad0ec33410/src/config/ty