aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/utils')
-rw-r--r--config/webpack/utils/build-file.js (renamed from config/webpack/utils/filename-hash.js)2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/utils/filename-hash.js b/config/webpack/utils/build-file.js
index e0d8a6d..9a0ae66 100644
--- a/config/webpack/utils/filename-hash.js
+++ b/config/webpack/utils/build-file.js
@@ -1,6 +1,6 @@
const crypto = require("crypto");
-module.exports.getFileNameHash = (fileName, prefix, justHash = false) => {
+module.exports.getFileName = (fileName, prefix, justHash = false) => {
let hash = crypto
.createHash("md5")
.update(`${prefix}-${fileName}`)