mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 17:49:52 +00:00
"native" to "builtin" (#788)
This commit is contained in:
@@ -116,7 +116,7 @@ export async function cacheAdditionalProcessors(cacheName: string, buildAssets:
|
||||
return createImageBitmap(blob).then(() => true, () => false);
|
||||
})();
|
||||
|
||||
// No point caching the WebP decoder if it's supported natively:
|
||||
// No point caching the WebP decoder if the browser supports it:
|
||||
if (supportsWebP) {
|
||||
toCache = toCache.filter(asset => !/webp[\-_]dec/.test(asset));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user