Standardize public images on WebP and add conversion tooling
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s

This commit is contained in:
Shinuwa 2026-10-23 12:12:02 +02:00
parent 75592d7d7a
commit ca39b76282
883 changed files with 503 additions and 90 deletions

View file

@ -2,7 +2,7 @@
const MHWILDS_IMG_PATH = "/static/img/mhwilds";
export function assetPath(name) {
return encodeURI(`${MHWILDS_IMG_PATH}/${String(name || "").replace(/_/g, " ")}.png`);
return encodeURI(`${MHWILDS_IMG_PATH}/${String(name || "").replace(/_/g, " ")}.webp`);
}
export function normalizeText(value) {