diff --git a/scripts/buildAssets/videos.ts b/scripts/buildAssets/videos.ts index 8868ab8ff..80df0fa5a 100644 --- a/scripts/buildAssets/videos.ts +++ b/scripts/buildAssets/videos.ts @@ -128,6 +128,7 @@ export async function videos(production: boolean) { } const content = Object.entries(videos) + .filter(([_, { videos }]) => videos.length > 0) .map( ([id, { videos, lastUpdated }]) => `${id},${lastUpdated},${videos.join(',')}`,