webviewBundleAfterPack

Build an electron-builder afterPack hook that installs builtin Webview Bundles — downloaded from the remote and/or packed from local workspaces as configured…

Build an electron-builder afterPack hook that installs builtin Webview Bundles — downloaded from the remote and/or packed from local workspaces as configured in your webview-bundle config — and embeds them into the packaged app's Resources/<bundlesDir>, where @wvb/electron looks for them at runtime.

View source ↗

function webviewBundleAfterPack(
  options: WebviewBundleOptions = {}
): (context: AfterPackContext) => Promise<void>;

Parameters

Prop

Type

Returns

(context: AfterPackContext) => Promise<void>

On this page