Optimize CMS images during builds

This commit is contained in:
Kevin
2026-09-04 12:11:09 -04:00
parent 80dd0e0904
commit dd6fae06c9
11 changed files with 136 additions and 22 deletions
+4
View File
@@ -0,0 +1,4 @@
export const allowedUploadExtensions = new Set(['.jpg', '.jpeg', '.png', '.webp', '.avif']);
export const maxSourceImageBytes = 25 * 1024 * 1024;
export const maxBuiltImageBytes = 500 * 1024;
export const maxBuiltImageDimension = 1920;