From b1b7909a2d21f19d6d2b195f8e6baa575c20ab3f Mon Sep 17 00:00:00 2001 From: Christopher Kirk-Nielsen Date: Tue, 22 Oct 2024 20:53:49 -0400 Subject: [PATCH] Fix outdated asset key reference Tracking the change of this.uniqueKey to uniqueKey --- src/AssetCache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AssetCache.js b/src/AssetCache.js index f671532..bd99b1c 100644 --- a/src/AssetCache.js +++ b/src/AssetCache.js @@ -27,7 +27,7 @@ class AssetCache { // Compute the filename only once if (typeof this.options.filenameFormat === "function") { - this.#customFilename = this.options.filenameFormat(this.uniqueKey, this.hash); + this.#customFilename = this.options.filenameFormat(uniqueKey, this.hash); if (typeof this.#customFilename !== "string") { throw new Error(`The provided cacheFilename callback function did not return a string.`);