app/lib/media/encoding.mjs
4 lines and 0 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.
Functions
None: it only declares types or values.
Imports
It imports no other module of this repo. Imported by app/lib/media/core.server.ts, app/routes/media.$.ts.
Source
// Omitting `quality` makes the Images binding return LOSSLESS WebP, larger than a lossy origin
// (measured: a 188,876 byte origin gave a 404,020 byte 640px rung). 85 is Cloudflare's documented
// default. Shared here so the transform route and the rebuild's placeholders both use it.
export const WEBP_QUALITY = 85;