diff --git a/packages/astro/src/assets/utils/node/emitAsset.ts b/packages/astro/src/assets/utils/node/emitAsset.ts index 8f56d7db0a5a..1337ac8800b8 100644 --- a/packages/astro/src/assets/utils/node/emitAsset.ts +++ b/packages/astro/src/assets/utils/node/emitAsset.ts @@ -45,7 +45,7 @@ export async function emitESMImage( }); // Attach file data for SVGs - // TODO: this is a workaround to prevent the a memory leak, and it must be fixed before we remove the experimental flag + // TODO: this is a workaround to prevent a memory leak, and it must be fixed before we remove the experimental flag, see if (fileMetadata.format === 'svg' && experimentalSvgEnabled === true) { emittedImage.contents = fileData; }