Skip to content

Commit b7e6371

Browse files
committed
Mark internal methods as such
1 parent b9fb1cc commit b7e6371

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpack-subresource-integrity/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ export class SubresourceIntegrityPlugin {
225225
}
226226
}
227227

228+
/**
229+
* @internal
230+
*/
228231
private updateAssetIntegrity(assetKey: string, integrity: string) {
229232
if (!this.assetIntegrity.has(assetKey)) {
230233
this.assetIntegrity.set(assetKey, integrity);
@@ -457,6 +460,9 @@ export class SubresourceIntegrityPlugin {
457460
compilation.compiler.options.output.crossOriginLoading || "anonymous";
458461
};
459462

463+
/**
464+
* @internal
465+
*/
460466
private isEnabled(compilation: Compilation): boolean {
461467
if (this.options.enabled === "auto") {
462468
return compilation.options.mode !== "development";

0 commit comments

Comments
 (0)