Skip to content

Commit

Permalink
Add issue to comment in sharp.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov authored Apr 3, 2024
1 parent b550bf0 commit ab0ef29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/assets/services/sharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function loadSharp() {
throw new AstroError(AstroErrorData.MissingSharp);
}

// Disable the `sharp` `libvips` cache as it errors when the file is too small and operations are happening too fast (runs into a race condition)
// Disable the `sharp` `libvips` cache as it errors when the file is too small and operations are happening too fast (runs into a race condition) https://github.com/lovell/sharp/issues/3935#issuecomment-1881866341
sharpImport.cache(false);

return sharpImport;
Expand Down

0 comments on commit ab0ef29

Please sign in to comment.