diff --git a/libs/utils/utils.js b/libs/utils/utils.js index 9d26708741..48a7a02374 100644 --- a/libs/utils/utils.js +++ b/libs/utils/utils.js @@ -712,6 +712,7 @@ async function decorateIcons(area, config) { const base = miloLibs || codeRoot; loadStyle(`${base}/features/icons/icons.css`); loadLink(`${base}/img/icons/icons.svg`, { rel: 'preload', as: 'fetch', crossorigin: 'anonymous' }); + loadLink(`${base}/utils/helpers.js`, { rel: 'preload', as: 'script', crossorigin: 'anonymous' }); const { default: loadIcons } = await import('../features/icons/icons.js'); await loadIcons(icons, config); }