export const require = (imgPath) => { try { return new URL(imgPath, import.meta.url).href; } catch(err) { console.warn(err); } }