grunt-imgo
v0.1.1
Published
Image optimization for Grunt using imgo.
Downloads
22
Readme
Image optimization for Grunt using imgo
Overview
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
.
Parameters
files string|array
Images list: PNG, GIF or JPEG. String or array. Wildcards are supported.
options string
Any options you want to pass to imgo
.
Config Example
imgo: {
icons: {
files: 'icons/*.png'
}
}
License
The MIT License, see the included License.md
file.