1 | import type { Compiler } from 'webpack';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare class SubresourceIntegrityPlugin {
|
9 | private readonly options;
|
10 | |
11 |
|
12 |
|
13 |
|
14 |
|
15 | constructor(options?: SubresourceIntegrityPluginOptions);
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | apply(compiler: Compiler): void;
|
24 | }
|
25 |
|
26 | /**
|
27 | * @public
|
28 | */
|
29 | export declare interface SubresourceIntegrityPluginOptions {
|
30 | readonly hashFuncNames?: [string, ...string[]];
|
31 | readonly enabled?: "auto" | true | false;
|
32 | readonly hashLoading?: "eager" | "lazy";
|
33 | }
|
34 |
|
35 | export { }
|