Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Jekyll tasks/optipng example to compress assets.
#!/usr/bin/env bash
set -e
find assets resource -name "*.png" -exec optipng -o7 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment