From feac7acb91a78b117241abdd0a5d80f778e15f06 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 24 Mar 2023 11:36:54 +0530 Subject: Overriding the javascript on the page instead of locally replacing it. --- config/webpack/utils/script-runtime.js | 1 + 1 file changed, 1 insertion(+) (limited to 'config/webpack/utils/script-runtime.js') diff --git a/config/webpack/utils/script-runtime.js b/config/webpack/utils/script-runtime.js index 8215ba2..f424168 100644 --- a/config/webpack/utils/script-runtime.js +++ b/config/webpack/utils/script-runtime.js @@ -2,6 +2,7 @@ module.exports.getScriptRuntimeFromType = scriptType => { switch (scriptType) { case "before": case "injected": + case "injected-before": return "document_start"; case "rendered": -- cgit v1.2.3