NET-Web-API-w-Angular/my-app/node_modules/webpack-subresource-integrity/webpack-subresource-integrity-public.d.ts

36 lines
603 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +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 { }