aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils/build-file.js
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-13 20:56:46 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-13 21:01:07 +0530
commit20c3b38f24d79df8843f17985a7d13533d4e0d10 (patch)
tree4fd85847db3976ffc64f3be012455d61624ace43 /config/webpack/utils/build-file.js
parent6f6c263a072c9df4e826d8ebb2035c82a87be7e0 (diff)
downloadbanglar-bhumi-utils-20c3b38f24d79df8843f17985a7d13533d4e0d10.tar.gz
banglar-bhumi-utils-20c3b38f24d79df8843f17985a7d13533d4e0d10.zip
refactor: some minor refactoring to config files
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}`)