treat mask-icon.svg as an implementation detail

This commit is contained in:
Daniel Micay
2021-05-18 14:02:38 -04:00
parent 9634d20dca
commit 5f018c01e1
2 changed files with 7 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ find static_tmp -name '*.css' -exec csso {} -o {} \;
find static_tmp -name '*.js' -exec terser --module -cmo {} {} \;
replace=""
for file in static_tmp/**/*.css static_tmp/js/*.js; do
for file in static_tmp/**/*.css static_tmp/js/*.js static_tmp/mask-icon.svg; do
hash=$(sha256sum "$file" | head -c 8)
dest="$(dirname $file)/$hash.$(basename $file)"
mv "$file" "$dest"