Added img task
This commit is contained in:
parent
742d310e9b
commit
274e62e1a1
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ module.exports = function(grunt) {
|
||||||
grunt.loadNpmTasks('grunt-svg2png');
|
grunt.loadNpmTasks('grunt-svg2png');
|
||||||
grunt.loadNpmTasks('grunt-svgmin');
|
grunt.loadNpmTasks('grunt-svgmin');
|
||||||
|
|
||||||
|
grunt.registerTask('img', ['svgmin', 'svg2png', 'imageoptim']);
|
||||||
grunt.registerTask('default', ['sass', 'browserify', 'jshint', 'uglify', 'watch']);
|
grunt.registerTask('default', ['sass', 'browserify', 'jshint', 'uglify', 'watch']);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue