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

8 lines
326 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
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;
}