grunt-pngquant
v0.1.8
Published
a powerful png minify.
Downloads
28
Readme
grunt-pngquant
A powerful png minify toolkit for deploy
Example:
module.exports = function(grunt) {
// load all tasks
require('load-grunt-tasks')(grunt);
grunt.initConfig({
pngquant: {
dist: {
options: {
quality: 100
},
files: [{
expand: true,
cwd: 'src/main/webapp/style/img',
src: ['**/*.png'],
dest: 'build/img'
}]
}
}
});
grunt.registerTask('default', ['pngquant:dist']);
};
## 0.1.4
support quality
## 0.1.8
ignore error, print warn