workbox-build
Version:
A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.
10 lines (9 loc) • 414 B
TypeScript
import { GeneratePartial, RequiredSWDestPartial } from '../types';
interface NameAndContents {
contents: string | Uint8Array;
name: string;
}
export declare function bundle({ babelPresetEnvTargets, inlineWorkboxRuntime, mode, sourcemap, swDest, unbundledCode, }: Omit<GeneratePartial, 'runtimeCaching'> & RequiredSWDestPartial & {
unbundledCode: string;
}): Promise<Array<NameAndContents>>;
export {};