Merge branch 'main' into bl-merge-lg-fe

This commit is contained in:
Benjamin Lu
2025-08-05 18:24:29 -04:00
committed by GitHub
7 changed files with 155 additions and 18 deletions

View File

@@ -21,7 +21,10 @@ const createOutputs = (
): ExecutedWsMessage['output'] => {
return {
images: filenames.map((image) => ({ type, ...parseFilePath(image) })),
animated: filenames.map((image) => isAnimated && image.endsWith('.webp'))
animated: filenames.map(
(image) =>
isAnimated && (image.endsWith('.webp') || image.endsWith('.png'))
)
}
}