diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-12-06 10:23:51 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-12-06 10:23:51 -0500 |
| commit | f2c6629bb6a4622e9edd009a8b3de412d6587bcf (patch) | |
| tree | 8d042f6b75aed7f978901bc71b817ebebff299fc | |
| parent | 8db62a865e6950e518090cac04d9530c858bfb17 (diff) | |
simplify static compression pattern
| -rwxr-xr-x | process_static | 2 |
1 files changed, 1 insertions, 1 deletions
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 {} \; |
