diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-06-13 20:11:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-13 20:11:35 +0000 |
| commit | ca20de409d08ec5abe2d3275bb97cfc5e8c164b3 (patch) | |
| tree | a13b48386e20bf69e7ede0bfff4715c17b90549d /config/webpack/utils/build-file.js | |
| parent | caa9c3f705730886cab911cb241703a10494581c (diff) | |
| parent | 54467df36805eabf9113d1bb84d7434b331cd167 (diff) | |
| download | banglar-bhumi-utils-ca20de409d08ec5abe2d3275bb97cfc5e8c164b3.tar.gz banglar-bhumi-utils-ca20de409d08ec5abe2d3275bb97cfc5e8c164b3.zip | |
Merge pull request #2 from arpitchakladar/dev/porting-to-firefox
Dev/implementing OCR for captcha autofill
Diffstat (limited to 'config/webpack/utils/build-file.js')
| -rw-r--r-- | config/webpack/utils/build-file.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/webpack/utils/build-file.js b/config/webpack/utils/build-file.js index 2ab8d86..6945911 100644 --- a/config/webpack/utils/build-file.js +++ b/config/webpack/utils/build-file.js @@ -1,6 +1,6 @@ -const crypto = require("crypto"); +import crypto from "crypto"; -module.exports.getFileName = (fileName, prefix, justHash = false) => { +export const getFileName = (fileName, prefix, justHash = false) => { let hash = crypto .createHash("md5") .update(`${prefix}-${fileName}`) |
