securityos/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugi...

8 lines
326 B
TypeScript

import { webpack } from 'next/dist/compiled/webpack/webpack';
export type SubresourceIntegrityAlgorithm = 'sha256' | 'sha384' | 'sha512';
export declare class SubresourceIntegrityPlugin {
private readonly algorithm;
constructor(algorithm: SubresourceIntegrityAlgorithm);
apply(compiler: webpack.Compiler): void;
}