Skip to content

@pumpkin-plugins/build API / wit / publishWitSnapshot

Function: publishWitSnapshot() ​

publishWitSnapshot(source, target): void

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

Publishes a prepared WIT snapshot for inspection without changing the path a build consumes. The caller serializes concurrent publishers for the same target.

Parameters ​

source ​

string

The complete WIT directory used by one build.

target ​

string

The persistent directory to expose to users.

Returns ​

void

pumpkin-plugins documentation