feat(config): Add option to never convert vector images

This commit is contained in:
Jesse Wierzbinski 2024-06-16 01:39:16 -10:00
parent 6ef3a854d9
commit de9dca5735
No known key found for this signature in database
3 changed files with 12 additions and 0 deletions

View file

@ -224,10 +224,12 @@ export const configValidator = z.object({
.object({
convert_images: z.boolean().default(false),
convert_to: z.string().default("image/webp"),
convert_vector: z.boolean().default(false),
})
.default({
convert_images: false,
convert_to: "image/webp",
convert_vector: false,
}),
})
.default({