We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fb1cc commit b7e6371Copy full SHA for b7e6371
webpack-subresource-integrity/index.ts
@@ -225,6 +225,9 @@ export class SubresourceIntegrityPlugin {
225
}
226
227
228
+ /**
229
+ * @internal
230
+ */
231
private updateAssetIntegrity(assetKey: string, integrity: string) {
232
if (!this.assetIntegrity.has(assetKey)) {
233
this.assetIntegrity.set(assetKey, integrity);
@@ -457,6 +460,9 @@ export class SubresourceIntegrityPlugin {
457
460
compilation.compiler.options.output.crossOriginLoading || "anonymous";
458
461
};
459
462
463
464
465
466
private isEnabled(compilation: Compilation): boolean {
467
if (this.options.enabled === "auto") {
468
return compilation.options.mode !== "development";
0 commit comments