[skip deploy] Add script to convert all PNG assets to WebP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
ebdbc41a12
commit
2c06ac5fe4
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
fd -tf png$ static/uploads -x convert {} -quality 100 -define webp:lossless=true {.}.webp
|
||||
fd -tf png$ static/uploads -X rm -v
|
Loading…
Reference in New Issue