Skip to content

🎥 Make videos programmatically with React

`remotion`: don't warn when prefetching assets with `image/*` content type

Jonny Burger1c1f42399cee
diff --git a/packages/core/src/prefetch.ts b/packages/core/src/prefetch.ts
index 1a575f5b15..6ce283cfec 100644
--- a/packages/core/src/prefetch.ts
+++ b/packages/core/src/prefetch.ts
@@ -86,6 +86,7 @@ export const prefetch = (
if (
!buf.type.startsWith('video/') &&
!buf.type.startsWith('audio/') &&
+ !buf.type.startsWith('image/') &&
!options?.contentType
) {
// eslint-disable-next-line no-console