From 5d8e9b40940087dc4b36bd7d7a62d5f03b8ce6c2 Mon Sep 17 00:00:00 2001 From: bosco-ensemble Date: Tue, 9 Apr 2024 12:12:50 -0700 Subject: [PATCH] TDW-2277 called loaddependenices before loadlazy --- scripts/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scripts.js b/scripts/scripts.js index c877c5ad..1696a5af 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -707,11 +707,11 @@ async function waitForLCP() { async function loadPage(doc) { // eslint-disable-next-line no-use-before-define await loadEager(doc); - // eslint-disable-next-line no-use-before-define - await loadLazy(doc); // eslint-disable-next-line import/no-cycle loadDependencies(); // eslint-disable-next-line no-use-before-define + await loadLazy(doc); + // eslint-disable-next-line no-use-before-define loadDelayed(doc); }