跳到正文

Interface: ExeOptions

Defined in: src/features/exe.ts:16

Extends

  • ExeExtensionOptions

Properties

fileName?

ts
optional fileName: string | (chunk) => string;

Defined in: src/features/exe.ts:22

Output file name without any suffix or extension. For example, do not include .exe, platform suffixes, or architecture suffixes.


seaConfig?

ts
optional seaConfig: Omit<SeaConfig, "main" | "output" | "mainFormat">;

Defined in: src/features/exe.ts:17


targets?

ts
optional targets: ExeTarget[];

Defined in: packages/exe/src/platform.ts:34

Cross-platform targets for building executables. Requires @tsdown/exe to be installed. When specified, builds an executable for each target platform/arch combination.

Example

ts
targets: [
  { platform: 'linux', arch: 'x64', nodeVersion: '25.7.0' },
  { platform: 'darwin', arch: 'arm64', nodeVersion: '25.7.0' },
  { platform: 'win', arch: 'x64', nodeVersion: '25.7.0' },
]

Inherited from

ts
ExeExtensionOptions.targets

Released under the MIT License.