Added a comment with code which could run html-minifier

This commit is contained in:
Kai Lauterbach 2023-05-22 16:20:38 +02:00
parent 10c563a076
commit 07c3b8e5e5

View file

@ -22,3 +22,11 @@ bash ../../tools/html2string.sh ../html/top.js > top.js
bash ../../tools/html2string.sh ../html/bottom.js > bottom.js
bash ../../tools/html2string.sh ../html/style.css > style.css
#for file in *"_tmp"; do
# if [[ -f "$file" ]]; then
# new_file="${file%_tmp}"
# html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true "$file" > "$new_file"
# rm "$file"
# fi
#done