summaryrefslogtreecommitdiff
path: root/process-static
diff options
context:
space:
mode:
Diffstat (limited to 'process-static')
-rwxr-xr-xprocess-static2
1 files changed, 1 insertions, 1 deletions
diff --git a/process-static b/process-static
index e11e9fcc..ad29bbe9 100755
--- a/process-static
+++ b/process-static
@@ -80,7 +80,7 @@ xmllint --noout static-tmp/**/*.@(html|svg|xml)
java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only static-tmp/**/*.html
java -jar node_modules/vnu-jar/build/dist/vnu.jar --Werror --css static-tmp/**/*.css
java -jar node_modules/vnu-jar/build/dist/vnu.jar --Werror --svg static-tmp/**/!(bimi).svg
-find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
+find static-tmp -name '*.html' -exec html-minifier-terser --collapse-whitespace \
--process-scripts "application/ld+json" --collapse-boolean-attributes \
--remove-attribute-quotes --remove-comments --remove-empty-attributes \
--remove-redundant-attributes --remove-script-type-attributes \