From f2c6629bb6a4622e9edd009a8b3de412d6587bcf Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 6 Dec 2020 10:23:51 -0500 Subject: [PATCH] simplify static compression pattern --- process_static | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process_static b/process_static index 4a941751..0d0ab9a7 100755 --- a/process_static +++ b/process_static @@ -22,6 +22,6 @@ done find static_tmp -name '*.css' -exec csso {} -o {} \; find static_tmp -name '*.js' -exec terser --module -cmo {} {} \; -find static_tmp -regex '\(.+/LICENSE\|.+\.\(atom\|css\|html\|ico\|js\|json\|pdf\|svg\|txt\|webmanifest\|xml\)\)' \ +find static_tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|pdf\|svg\|txt\|webmanifest\|xml\)' \ -exec zopfli {} \; -exec touch -r {} {}.gz \; \ -exec brotli -k {} \;