From 20c3b38f24d79df8843f17985a7d13533d4e0d10 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 13 Jul 2026 20:56:46 +0530 Subject: refactor: some minor refactoring to config files --- config/webpack/utils/build-file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/webpack/utils/build-file.js') 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}`) -- cgit v1.2.3