Skip to content

Commit fb7067d

Browse files
committed
remove unnecessary zopfli wrapper
The timestamps of the generated static files are no longer used.
1 parent 14fc078 commit fb7067d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

process-static

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,5 @@ find static-tmp -name '*.html' -exec html-minifier-terser --collapse-whitespace
7171

7272
find static-tmp -name '*.xml' -exec xmllint --noblanks {} --output {} \;
7373

74-
zopfli_preserve_time() {
75-
zopfli "$1"
76-
touch -r "$1" "$1.gz"
77-
}
78-
export -f zopfli_preserve_time
79-
8074
find static-tmp -regex '.+\.\(css\|html\|ico\|js\|json\|svg\|txt\|webmanifest\|xml\)' |
81-
parallel -q ::: brotli zopfli_preserve_time :::: -
75+
parallel -q ::: brotli zopfli :::: -

0 commit comments

Comments
 (0)