From 5a30741ef70d8a11e2f1976229957983f9c08fad Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 6 Aug 2024 22:11:57 +0300 Subject: Fix vnext server build --- src/main/assets/icon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/assets') diff --git a/src/main/assets/icon.js b/src/main/assets/icon.js index 5cd787a5..b4b5aedc 100644 --- a/src/main/assets/icon.js +++ b/src/main/assets/icon.js @@ -1,10 +1,10 @@ -import evilIcons from 'evil-icons/assets/sprite.svg' +const spritesUrl = new URL('evil-icons/assets/sprite.svg', import.meta.url) function icon(name, { size = '', className = '' }) { const classes = `icon icon--${name} icon--${size} ${className}`.trim() var icon = '' var html = '