From 68ffb4ba084b025a042fff9b8efd839fce33bec0 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Sat, 21 Dec 2024 19:26:48 +0100 Subject: [PATCH] fix : attempt to bring back images --- services/loadCards.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/loadCards.ts b/services/loadCards.ts index 7ee140c..a584915 100644 --- a/services/loadCards.ts +++ b/services/loadCards.ts @@ -4,7 +4,7 @@ export const cards = {} as Record; export const tokens = {} as Record; export async function compileCards() { - const svgs = import.meta.glob("./assets/images/cards/heron-svg/*.svg", { + const svgs = import.meta.glob("@/assets/images/cards/heron-svg/*.svg", { eager: true, }); @@ -64,7 +64,7 @@ export async function compileCards() { } export async function compileTokens() { - const svgs = import.meta.glob("./assets/images/tokens/*.svg", { + const svgs = import.meta.glob("@/assets/images/tokens/*.svg", { eager: true, });