Makes compiler minify css when converting from less

master
Jonathan Hodgson 5 years ago
parent 2f30dff547
commit 9d1f14c19d
  1. 4
      bin/.bin/compiler

@ -60,8 +60,8 @@ case "$file" in
*\.c) cc "$file" -o "$base" && "$base" ;;
*\.py) python "$file" ;;
*\.js) cat "$file" | minify --js > "${base}.min.js" ;;
#*\.less) lessc --clean-css --source-map --autoprefix="last 3 versions, ie >= 11" "$file" "${base}.min.css" ;;
*\.less) lessc "$file" "${base}.css" ;;
*\.less) lessc --clean-css "$file" "${base}.min.css" ;;
#*\.less) lessc "$file" "${base}.css" ;;
#*\.go) go run "$file" ;;
#*) shebangtest ;;
esac

Loading…
Cancel
Save