Skip to content

loadInstructions ​

Function @unplugin-pwa/core/pwa-assets/generator
ts
loadInstructions(ctx: PWAPluginContext<any, any, any>): Promise<{ checkHotUpdate: (file: string) => Promise<boolean>; findIconAsset: (path: string) => ResolvedIconAsset | undefined; generate: () => Promise<void>; icons: () => PWAAssetsIcons; injectManifestIcons: () => void; instructions: () => ImageAssetsInstructions; resolveHtmlAssets: () => PWAHtmlAssets; sources: () => string[]; transformIndexHtml: (html: string) => string } | undefined>

Released under the MIT License.