summaryrefslogtreecommitdiff
path: root/process-static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-04-10 21:00:22 -0400
committerDaniel Micay <danielmicay@gmail.com>2023-04-10 21:00:36 -0400
commit54f034199425be66e19d04dd695cc195d794e077 (patch)
tree6c5f9b5dc4dadb5329b627a9e4cee7980a346aaf /process-static
parent60b934f77c7f838b41683acb1d79864131ecec9c (diff)
switch to terser fork of html-minifier
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 \