You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no 1:1 mapping between file extensions and mime types, eg. application/typescript and text/typescript both have a ".ts" file extension. For a start, I'll write a mapping function based on the mime types in from_content_type()
denoland/deno#17172 adds
--ext
to deno, eg.--ext
needs to map file extensions to mime typesThe mapping function in deno is incomplete and temporary.
deno_ast's
MediaType
already maps module specifiers and mime types toMediaType
. I think this is a good place to mapMediaType
MediaType
to mime typesThe text was updated successfully, but these errors were encountered: