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

Defined in: [src/features/exe.ts:44](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L44)

See also [Node.js SEA Documentation](https://nodejs.org/api/single-executable-applications.html#generating-single-executable-applications-with---build-sea)

Note some default values are different from Node.js defaults to optimize for typical use cases (e.g. disabling the experimental SEA warning). These can be overridden.

## Properties

### assets?

```ts
optional assets?: Record<string, string>;
```

Defined in: [src/features/exe.ts:72](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L72)

***

### disableExperimentalSEAWarning?

```ts
optional disableExperimentalSEAWarning?: boolean;
```

Defined in: [src/features/exe.ts:58](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L58)

#### Default

```ts
true
```

***

### execArgv?

```ts
optional execArgv?: string[];
```

Defined in: [src/features/exe.ts:67](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L67)

***

### execArgvExtension?

```ts
optional execArgvExtension?: "env" | "none" | "cli";
```

Defined in: [src/features/exe.ts:71](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L71)

#### Default

```ts
'env'
```

***

### executable?

```ts
optional executable?: string;
```

Defined in: [src/features/exe.ts:49](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L49)

Optional, if not specified, uses the current Node.js binary

***

### main?

```ts
optional main?: string;
```

Defined in: [src/features/exe.ts:45](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L45)

***

### mainFormat?

```ts
optional mainFormat?: "commonjs" | "module";
```

Defined in: [src/features/exe.ts:54](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L54)

#### Default

```ts
tsdownConfig.format === 'es' ? 'module' : 'commonjs'
```

***

### output?

```ts
optional output?: string;
```

Defined in: [src/features/exe.ts:50](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L50)

***

### useCodeCache?

```ts
optional useCodeCache?: boolean;
```

Defined in: [src/features/exe.ts:66](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L66)

#### Default

```ts
false
```

***

### useSnapshot?

```ts
optional useSnapshot?: boolean;
```

Defined in: [src/features/exe.ts:62](https://github.com/rolldown/tsdown/blob/eb40c95efdf7f98d0aa7b0178a3b7322986bd419/src/features/exe.ts#L62)

#### Default

```ts
false
```
