Skip to content

@pumpkin-plugins/build API / wit / prepareWit

Function: prepareWit() ​

prepareWit(options): string

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

Prepares the WIT a plugin is built against: the API's own, plus WASI imports and the WASI packages they refer to when the plugin asked for any.

Parameters ​

options ​

PrepareWitOptions

What to combine and where.

Returns ​

string

The folder to build against. It is the API's folder itself when nothing was added.

Pumpkin Plugins documentation