Skip to content

Interface: SeaConfig

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

See also Node.js SEA Documentation

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

Properties

assets?

ts
optional assets: Record<string, string>;

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


disableExperimentalSEAWarning?

ts
optional disableExperimentalSEAWarning: boolean;

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

Default

ts
true

execArgv?

ts
optional execArgv: string[];

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


execArgvExtension?

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

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

Default

ts
'env'

executable?

ts
optional executable: string;

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

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


main?

ts
optional main: string;

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


mainFormat?

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

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


output?

ts
optional output: string;

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


useCodeCache?

ts
optional useCodeCache: boolean;

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

Default

ts
false

useSnapshot?

ts
optional useSnapshot: boolean;

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

Default

ts
false

Released under the MIT License.