diff --git a/scripts/init.js b/scripts/init.js index 966eaa6d..ce6bf2f6 100644 --- a/scripts/init.js +++ b/scripts/init.js @@ -55,7 +55,7 @@ export async function init(node = document) { }; // start with lcp and priority - Promise.all([ + await Promise.all([ ...lcp.map(({ name, el }) => start({ name, el })), ...priority.map(({ name, el }) => start({ name, el })), ]);