Add a config option for setting the webp quality

This commit is contained in:
Oliver 2026-02-03 23:14:29 -07:00
parent 73601c579c
commit 4a31ed76cd
2 changed files with 2 additions and 0 deletions

View file

@ -60,6 +60,7 @@ export async function convertToWebp(file) {
resolve(webp);
},
`image/webp`,
config.WEBP_QUALITY,
);
});
};