aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils/script-runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/utils/script-runtime.js')
-rw-r--r--config/webpack/utils/script-runtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/utils/script-runtime.js b/config/webpack/utils/script-runtime.js
index 1c23922..2745d54 100644
--- a/config/webpack/utils/script-runtime.js
+++ b/config/webpack/utils/script-runtime.js
@@ -9,7 +9,7 @@
* @param {string} scriptType - The script type from scripts.json.
* @returns {string} The corresponding `run_at` value.
*/
-export const getScriptRuntimeFromType = scriptType => {
+export function getScriptRuntimeFromType(scriptType) {
switch (scriptType) {
case "before":
case "injected-after":