@wvb/electron-builder
electron-builder integration for webview bundle
Use @wvb/electron-builder in your project and browse its exported API.
Installation
Add the package to your project's development dependencies:
npm install -D @wvb/electron-builderInstall the compatible host tools:
npm install -D "electron-builder@>= 24"Functions
resolveResourcesPath
Resolve the packaged app's Resources directory from an electron-builder afterPack context.
webviewBundleAfterPack
Build an electron-builder afterPack hook that installs builtin Webview Bundles — downloaded from the remote and/or packed from local workspaces as configured…
withWebviewBundle
Wrap an electron-builder configuration so it installs builtin Webview Bundles at package time.
Interfaces
AfterPackContext
Electron builder's after pack context type.
WebviewBundleOptions
Webview bundle options.