feat: update image shortcode to work with animated gifs

This commit is contained in:
Devin Haska 2024-02-20 11:11:13 -08:00
parent b4734e0d83
commit dac9981705

View file

@ -23,6 +23,9 @@ const imageShortcode = async (
formats: [...formats, null],
outputDir: "dist/assets/images",
urlPath: "/assets/images",
sharpOptions: {
animated: true,
},
});
const lowsrc = metadata.jpeg[metadata.jpeg.length - 1];