grunt-imgo

Image optimization for Grunt using imgo.

Image optimization for Grunt using imgo

Inside your grunt.js file add a section named imgo. This section specifies the files to optimize and the options passed to imgo. Then add

grunt.loadNpmTasks('grunt-imgo');

somewhere in your grunt.js.

Images list: PNG, GIF or JPEG. String or array. Wildcards are supported.

Any options you want to pass to imgo.

imgo: {
  icons: {
    files: 'icons/*.png'
    }
}

The MIT License, see the included License.md file.