Skip to content

Commit 7ce0b4c

Browse files
committed
(feature) add WebP image support
1 parent da9a2f5 commit 7ce0b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const IMAGE_TYPES = ['png', 'jpg', 'jpeg', 'svg', 'gif']
1+
export const IMAGE_TYPES = ['png', 'jpg', 'jpeg', 'webp', 'svg', 'gif']
22
export const VIDEO_TYPES = ['video/mp4', 'video/ogg', 'video/webm']

0 commit comments

Comments
 (0)