UNPKG

666 BTypeScriptView Raw
1import * as webpack from 'webpack';
2export interface ManifestEntry {
3 [key: string]: string;
4}
5export interface Manifest {
6 [key: string]: ManifestEntry;
7}
8interface AsyncManifestEntry {
9 id?: string;
10 file: string;
11 publicPath: string;
12 integrity?: string;
13}
14export interface AsyncManifest {
15 [key: string]: AsyncManifestEntry[];
16}
17export declare function getAssetManifest(assetBasePath: string, compilation: webpack.compilation.Compilation): Manifest;
18export declare function getAsyncAssetManifest(compilation: webpack.compilation.Compilation, { includeIntegrity }?: {
19 includeIntegrity?: boolean | undefined;
20}): AsyncManifest;
21export {};