mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
This commit is contained in:
committed by
GitHub
parent
e13f3f5b24
commit
3fdda617d3
@@ -20,6 +20,7 @@ enum MediaKind {
|
|||||||
|
|
||||||
export const mediaFileExtensions = new Map<string, MediaKind>([
|
export const mediaFileExtensions = new Map<string, MediaKind>([
|
||||||
// Images
|
// Images
|
||||||
|
['avif', MediaKind.Image],
|
||||||
['bmp', MediaKind.Image],
|
['bmp', MediaKind.Image],
|
||||||
['gif', MediaKind.Image],
|
['gif', MediaKind.Image],
|
||||||
['ico', MediaKind.Image],
|
['ico', MediaKind.Image],
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ export const Mime = {
|
|||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const mediaMimes = new Set([
|
export const mediaMimes = new Set([
|
||||||
|
'image/avif',
|
||||||
'image/bmp',
|
'image/bmp',
|
||||||
'image/gif',
|
'image/gif',
|
||||||
'image/jpeg',
|
'image/jpeg',
|
||||||
|
|||||||
Reference in New Issue
Block a user