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] });