From a77cdfbb74bad9645b35872301db345aff175f37 Mon Sep 17 00:00:00 2001 From: Taco de Wolff Date: Mon, 2 May 2022 09:26:48 -0400 Subject: [PATCH] Add .mjs as JavaScript extension, see #482 --- cmd/minify/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/minify/main.go b/cmd/minify/main.go index b6e0d9c775..98f604d596 100644 --- a/cmd/minify/main.go +++ b/cmd/minify/main.go @@ -38,6 +38,7 @@ var filetypeMime = map[string]string{ "htm": "text/html", "html": "text/html", "js": "application/javascript", + "mjs": "application/javascript", "json": "application/json", "svg": "image/svg+xml", "xml": "text/xml",