diff options
Diffstat (limited to 'process_static')
| -rwxr-xr-x | process_static | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_static b/process_static index 1bebae0f..1edd56d1 100755 --- a/process_static +++ b/process_static @@ -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" |
