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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack/utils/build-file.js b/config/webpack/utils/build-file.js
index 6d8fc85..2ab8d86 100644
--- a/config/webpack/utils/build-file.js
+++ b/config/webpack/utils/build-file.js
@@ -4,7 +4,8 @@ module.exports.getFileName = (fileName, prefix, justHash = false) => {
let hash = crypto
.createHash("md5")
.update(`${prefix}-${fileName}`)
- .digest("hex").substring(16);
+ .digest("hex")
+ .substring(16);
if (production) {
return hash;