diff --git a/packages/astro/src/assets/services/squoosh.ts b/packages/astro/src/assets/services/squoosh.ts index 023e92fe5..95c16b8d8 100644 --- a/packages/astro/src/assets/services/squoosh.ts +++ b/packages/astro/src/assets/services/squoosh.ts @@ -29,7 +29,10 @@ const qualityTable: Record< // Squoosh's PNG encoder does not support a quality setting, so we can skip that here }; -async function getRotationForEXIF(inputBuffer: Buffer, src?: string): Promise { +async function getRotationForEXIF( + inputBuffer: Buffer, + src?: string +): Promise { const meta = await imageMetadata(inputBuffer, src); if (!meta) return undefined;