Skip to content

Commit

Permalink
Update packages/astro/src/assets/utils/node/emitAsset.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Erika <[email protected]>
  • Loading branch information
ematipico and Princesseuh authored Dec 9, 2024
1 parent fa1bee8 commit 7bc7e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/assets/utils/node/emitAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7bc7e6c

Please sign in to comment.