diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-27 21:38:43 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-27 21:38:43 +0530 |
| commit | d178caee5c93ad9ed91dbd082b0f0b5a9b0507aa (patch) | |
| tree | ccfdf4c6992a86955c80780de0518a2fea10ac39 /config/webpack/utils/scripts.js | |
| parent | 5955bd821303cffa35263c41286339fb28e7536b (diff) | |
| download | banglar-bhumi-utils-d178caee5c93ad9ed91dbd082b0f0b5a9b0507aa.tar.gz banglar-bhumi-utils-d178caee5c93ad9ed91dbd082b0f0b5a9b0507aa.zip | |
Refactoring code.
Only using hashes for output file names.
Using singleton pattern to store the callbacks for observeDOM, and only one MutationObserver.
Diffstat (limited to 'config/webpack/utils/scripts.js')
| -rw-r--r-- | config/webpack/utils/scripts.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack/utils/scripts.js b/config/webpack/utils/scripts.js index 2196737..427aaab 100644 --- a/config/webpack/utils/scripts.js +++ b/config/webpack/utils/scripts.js @@ -5,6 +5,7 @@ const formattedScripts = {}; for (const scriptType in scripts) { const currentScripts = scripts[scriptType]; + for (const scriptName in currentScripts) { const scriptPath = currentScripts[scriptName]; formattedScripts[scriptPath] = formattedScripts[scriptPath] || {}; |
