Skip to content

@pumpkin-plugins/build API / wit / PrepareWitOptions

Interface: PrepareWitOptions ​

Defined in: tools/build/src/wit.ts:25

Inputs to prepareWit.

Properties ​

apiWit ​

apiWit: string

Defined in: tools/build/src/wit.ts:27

The API package's wit/v0.1 folder.


interfaces ​

interfaces: readonly string[]

Defined in: tools/build/src/wit.ts:31

WASI interfaces to import.


target ​

target: string

Defined in: tools/build/src/wit.ts:29

Where to write the combined WIT, when there is anything to add.


wasiFiles? ​

optional wasiFiles?: readonly string[]

Defined in: tools/build/src/wit.ts:35

Exact WASI WIT paths from the lock, to keep stale cached files out of the component world.


wasiWit? ​

optional wasiWit?: string

Defined in: tools/build/src/wit.ts:33

The folder ensureWasiWit returned. Only needed when there are interfaces.

Pumpkin Plugins documentation