summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprocess_static2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_static b/process_static
index 874e72fe..f9a7cbea 100755
--- a/process_static
+++ b/process_static
@@ -27,6 +27,6 @@ done
find static_tmp -name '*.css' -exec csso {} -o {} \;
find static_tmp -name '*.js' -exec terser --module -cmo {} {} \;
-find static_tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|pdf\|svg\|txt\|webmanifest\|xml\)' \
+find static_tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|mjs\|pdf\|svg\|txt\|webmanifest\|xml\)' \
-exec zopfli {} \; -exec touch -r {} {}.gz \; \
-exec brotli -k {} \;