fix: only use webp

This commit is contained in:
dusk 2024-09-19 04:12:59 +03:00
parent da2c5d1408
commit 9050ae87c6
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -1,6 +1,6 @@
const images = import.meta.glob<any>(
'./images/*.webp',
{ query: { enhanced: true }, eager: true }
{ query: { enhanced: true, format: "webp" }, eager: true }
);
export function load() {