workbox-build
Version:
A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.
5 lines (4 loc) • 465 B
TypeScript
import { GeneratePartial, ManifestEntry } from '../types';
export declare function populateSWTemplate({ cacheId, cleanupOutdatedCaches, clientsClaim, directoryIndex, disableDevLogs, ignoreURLParametersMatching, importScripts, manifestEntries, navigateFallback, navigateFallbackDenylist, navigateFallbackAllowlist, navigationPreload, offlineGoogleAnalytics, runtimeCaching, skipWaiting, }: GeneratePartial & {
manifestEntries?: Array<ManifestEntry>;
}): string;