From 8ce03ce719158435ee73a960f94bd2519640e51d Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 20 Jun 2024 22:18:39 +0200 Subject: [PATCH] Update index.js --- src/Umbraco.Web.UI.Client/devops/icons/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/devops/icons/index.js b/src/Umbraco.Web.UI.Client/devops/icons/index.js index a61cc0d42f..19e684c7dd 100644 --- a/src/Umbraco.Web.UI.Client/devops/icons/index.js +++ b/src/Umbraco.Web.UI.Client/devops/icons/index.js @@ -174,7 +174,7 @@ const generateJS = (icons) => { return `{ name: "${icon.name}", ${icon.legacy ? 'legacy: true,' : ''} - path: import("./icons/${icon.fileName}.js"), + path: () => import("./icons/${icon.fileName}.js"), }`.replace(/\t/g, ''); // Regex removes white space [NL] });