summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozpack/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozbuild/mozpack/files.py')
-rw-r--r--python/mozbuild/mozpack/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mozbuild/mozpack/files.py b/python/mozbuild/mozpack/files.py
index a320e1f4b4..9ae16d5c1c 100644
--- a/python/mozbuild/mozpack/files.py
+++ b/python/mozbuild/mozpack/files.py
@@ -901,7 +901,7 @@ class BaseFinder(object):
if path.endswith((".ftl", ".properties")):
return MinifiedCommentStripped(file)
- if self._minify_js and path.endswith((".js", ".jsm")):
+ if self._minify_js and path.endswith((".js", ".jsm", ".mjs")):
return MinifiedJavaScript(file, self._minify_js_verify_command)
return file