Pre-commit hook for minifier