Bjorn
Freelance designer and developer from πŸ‡³πŸ‡±. Founder of YTCount.com
  • πŸ”₯ 81
  • πŸ“ Amsterdam
  • πŸ“… Oct '17
  • πŸ‘» 120

I am using Gulp Imagemin for that. I don't know if you're using Gulp, but this this package is great.
https://www.npmjs.com/package/gulp-imagemin