8 lines
326 B
TypeScript
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;
|
|
}
|