webpack-subresource-integrity
Version:
Webpack plugin for enabling Subresource Integrity
18 lines • 683 B
TypeScript
/**
* Copyright (c) 2015-present, Waysact Pty Ltd
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { StronglyConnectedComponent } from "./types";
import { RuntimeModule, Chunk } from "webpack";
export declare function getChunkToManifestMap(chunks: Iterable<Chunk>): [
sortedVertices: StronglyConnectedComponent<Chunk>[],
chunkManifest: Map<Chunk, Set<Chunk>>
];
export declare class AddLazySriRuntimeModule extends RuntimeModule {
private sriHashes;
constructor(sriHashes: unknown, chunkName: string | number);
generate(): string;
}
//# sourceMappingURL=manifest.d.ts.map