beez-optim makes specify images optimize automatically in build process using grunt.