Merge pull request #126 from mwellman17/patch-1

Add text/x-yaml MIME type.
This commit is contained in:
Alexandru Dima 2021-02-25 16:16:43 +01:00 committed by GitHub
commit 7336c2d0a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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