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

```ts
type TsdownInputOption = Arrayable<string | Record<string, Arrayable<string>>>
```

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

Extended input option that supports glob negation patterns.

When using object form, values can be:

* A single glob pattern string
* An array of glob patterns, including negation patterns (prefixed with `!`)

## Example

```ts
entry: {
