Add text/x-yaml MIME type.

This commit is contained in:
Michael Wellman 2021-02-24 14:59:36 -05:00 committed by GitHub
parent 8e1692b10d
commit 0f5dda5820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,6 @@ registerLanguage({
id: 'yaml', id: 'yaml',
extensions: ['.yaml', '.yml'], extensions: ['.yaml', '.yml'],
aliases: ['YAML', 'yaml', 'YML', 'yml'], aliases: ['YAML', 'yaml', 'YML', 'yml'],
mimetypes: ['application/x-yaml'], mimetypes: ['application/x-yaml', 'text/x-yaml'],
loader: () => import('./yaml') loader: () => import('./yaml')
}); });