cljs.repl.browser/ext->mime-type

varsince v0.0-3291Edit
Source code @ clojurescript:src/main/clojure/cljs/repl/browser.clj
(def ext->mime-type
  {".html" "text/html"
   ".css" "text/css"

   ".ttf" "font/ttf"
   ".otf" "font/otf"

   ".pdf" "application/pdf"

   ".jpg" "image/jpeg"
   ".png" "image/png"
   ".gif" "image/gif"
   ".svg" "image/svg+xml"

   ".mp4" "video/mp4"
   ".m4a" "audio/m4a"
   ".m4v" "video/mp4"
   ".mp3" "audio/mpeg"
   ".mpeg" "video/mpeg"
   ".wav" "audio/wav"

   ".js" "text/javascript"
   ".json" "application/json"
   ".clj" "text/x-clojure"
   ".cljs" "text/x-clojure"
   ".cljc" "text/x-clojure"
   ".edn" "text/x-clojure"
   ".map" "application/json"
   ".wasm" "application/wasm"})