mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-09 04:27:48 -04:00
Update the application/javascript media type
Add jsm and mjs extensions. Closes #9483
This commit is contained in:
parent
6a238a7276
commit
3036d0ac9a
@ -229,7 +229,7 @@ var (
|
||||
SASSType = newMediaType("text", "x-sass", []string{"sass"})
|
||||
CSVType = newMediaType("text", "csv", []string{"csv"})
|
||||
HTMLType = newMediaType("text", "html", []string{"html"})
|
||||
JavascriptType = newMediaType("application", "javascript", []string{"js"})
|
||||
JavascriptType = newMediaType("application", "javascript", []string{"js", "jsm", "mjs"})
|
||||
TypeScriptType = newMediaType("application", "typescript", []string{"ts"})
|
||||
TSXType = newMediaType("text", "tsx", []string{"tsx"})
|
||||
JSXType = newMediaType("text", "jsx", []string{"jsx"})
|
||||
|
Loading…
x
Reference in New Issue
Block a user