Recognize the '.mjs' extension as JavaScript.

Resolves #2479.
This commit is contained in:
Sergio Benitez 2023-03-25 08:58:20 -07:00
parent 999787e3bb
commit 0d8cb1457f
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ macro_rules! known_extensions {
"xhtml" => XHTML, "xhtml" => XHTML,
"csv" => CSV, "csv" => CSV,
"js" => JavaScript, "js" => JavaScript,
"mjs" => JavaScript,
"css" => CSS, "css" => CSS,
"json" => JSON, "json" => JSON,
"png" => PNG, "png" => PNG,