mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Update the application/javascript media type
Add jsm and mjs extensions. Closes #9483
This commit is contained in:
committed by
Bjørn Erik Pedersen
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"})
|
||||
|
Reference in New Issue
Block a user