diff --git a/mise.toml b/mise.toml index 8619bed..a508d64 100644 --- a/mise.toml +++ b/mise.toml @@ -32,7 +32,7 @@ depends_post = ["precompress"] [tasks.precompress] description = "Precompress static resources" run = ''' -COMPRESSREGEX=".*(html|css|js|xml|ico|svg|md|png|webp|pdf)$" +COMPRESSREGEX=".*(html|css|js|xml|ico|svg|md|png|webp|pdf|woff2)$" find public/ -type f -regextype egrep -regex $COMPRESSREGEX | xargs zstd -15 -f '''