UNPKG

workbox-webpack-plugin

Version:

A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.

7 lines (6 loc) 360 B
import { Compilation } from 'webpack'; import { WebpackGenerateSWOptions, WebpackInjectManifestOptions, ManifestEntry } from 'workbox-build'; export declare function getManifestEntriesFromCompilation(compilation: Compilation, config: WebpackGenerateSWOptions | WebpackInjectManifestOptions): Promise<{ size: number; sortedEntries: ManifestEntry[]; }>;