diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-25 09:21:11 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-25 09:36:24 +0530 |
| commit | d6682a1ed9acd31dbfdb9e645cc8230c61a268c3 (patch) | |
| tree | 63c5577b701c377896f4aa2985adf67f7aa3d679 /config/webpack/utils | |
| parent | feac7acb91a78b117241abdd0a5d80f778e15f06 (diff) | |
| download | banglar-bhumi-utils-d6682a1ed9acd31dbfdb9e645cc8230c61a268c3.tar.gz banglar-bhumi-utils-d6682a1ed9acd31dbfdb9e645cc8230c61a268c3.zip | |
Disable minification in development.
Diffstat (limited to 'config/webpack/utils')
| -rw-r--r-- | config/webpack/utils/get-injection-code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/utils/get-injection-code.js b/config/webpack/utils/get-injection-code.js index 71afa93..51d1c20 100644 --- a/config/webpack/utils/get-injection-code.js +++ b/config/webpack/utils/get-injection-code.js @@ -19,5 +19,5 @@ module.exports.getInjectionCode = (code, front) => { ? "t.innerHTML=i+t.innerHTML" : "t.innerHTML+=i"; - return `(()=>{let e=new MutationObserver(()=>{let t=document.querySelector("head > script:nth-child(54)");if(t){let i=\`(()=>{${finalCode}})();\`;${concatenationCode},e.disconnect()}});e.observe(document,{childList:!0,subtree:!0})})();`; + return `(()=>{let e=new MutationObserver(()=>{let t=document.querySelector("head > script:nth-child(54)");if(t){let i=\`${finalCode}\`;${concatenationCode},e.disconnect()}});e.observe(document,{childList:!0,subtree:!0})})();`; }; |
