Transcode heic/heif images

This commit is contained in:
Josh Perez 2021-08-09 16:06:21 -04:00 committed by GitHub
parent 440fb69efc
commit 9078919545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 409 additions and 100 deletions

View file

@ -13,8 +13,8 @@ import {
IMAGE_JPEG,
IMAGE_PNG,
IMAGE_WEBP,
MIMEType,
VIDEO_MP4,
stringToMIMEType,
} from '../../types/MIME';
import { setup as setupI18n } from '../../../js/modules/i18n';
import enMessages from '../../../_locales/en/messages.json';
@ -273,7 +273,7 @@ story.add('Mixed Content Types', () => {
width: 800,
},
{
contentType: 'text/plain' as MIMEType,
contentType: stringToMIMEType('text/plain'),
fileName: 'lorem-ipsum.txt',
url: '/fixtures/lorem-ipsum.txt',
},