aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils/build-file.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/utils/build-file.js')
-rw-r--r--config/webpack/utils/build-file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/utils/build-file.js b/config/webpack/utils/build-file.js
index 17f0b03..e09747d 100644
--- a/config/webpack/utils/build-file.js
+++ b/config/webpack/utils/build-file.js
@@ -10,7 +10,7 @@ import crypto from "crypto";
* @param {boolean} justHash - When true, always return only the hash part.
* @returns {string} The transformed filename.
*/
-export const getFileName = (fileName, prefix, justHash = false) => {
+export function getFileName(fileName, prefix, justHash = false) {
let hash = crypto
.createHash("md5")
.update(`${prefix}-${fileName}`)