Icard/angular-clarity-master(work.../node_modules/webpack-subresource-integrity/webpack-subresource-integri...

36 lines
603 B
TypeScript
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
import type { Compiler } from 'webpack';
/**
* The webpack-subresource-integrity plugin.
*
* @public
*/
export declare class SubresourceIntegrityPlugin {
private readonly options;
/**
* Create a new instance.
*
* @public
*/
constructor(options?: SubresourceIntegrityPluginOptions);
apply(compiler: Compiler): void;
}
/**
* @public
*/
export declare interface SubresourceIntegrityPluginOptions {
readonly hashFuncNames?: [string, ...string[]];
readonly enabled?: "auto" | true | false;
readonly hashLoading?: "eager" | "lazy";
}
export { }