@pumpkin-plugins/build API / wit / PrepareWitOptions
Interface: PrepareWitOptions
Defined in: tools/build/src/wit.ts:26
Inputs to prepareWit.
Properties
apiWit
apiWit:
string
Defined in: tools/build/src/wit.ts:28
The cached WIT directory selected by the API package's wit.lock.json.
interfaces
interfaces: readonly
string[]
Defined in: tools/build/src/wit.ts:30
WASI interfaces to import.
target
target:
string
Defined in: tools/build/src/wit.ts:32
Where to write the combined WIT. Left untouched when there are no interfaces.
wasiFiles
wasiFiles: readonly
string[]
Defined in: tools/build/src/wit.ts:34
Exact WASI WIT paths from the lock, to keep stale cached files out of the component world.
wasiWit?
optionalwasiWit?:string
Defined in: tools/build/src/wit.ts:36
The folder ensureWasiWit returned. Only needed when there are interfaces.