From 90e6b7bdfeccff5e96f0bda23bc5c9ab7b33238a Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Tue, 13 Oct 2015 16:52:46 +0000 Subject: Remove grunt-contrib-imagemin image minification Ever since liberating images in c76f70c, there's no really a need to minify images. Furthermore, the dependency update in 6ef710a changed PNG minification to be lossless, so most of the benefits were lost (because our images are already compressed in the repository). We don't need this anymore. --- Gruntfile.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index d21b6eb..93d693f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -76,16 +76,6 @@ module.exports = function (grunt) { create: ['dist/img'] } }, - imagemin: { - dist: { - files: [{ - expand: true, - cwd: 'img/', - src: '**/*.{png,jpg,gif}', - dest: 'dist/img/' - }] - } - }, copy: { dist: { files: [{ @@ -103,8 +93,7 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-htmlmin'); grunt.loadNpmTasks('grunt-contrib-cssmin'); - grunt.loadNpmTasks('grunt-contrib-imagemin'); grunt.loadNpmTasks('grunt-contrib-copy'); - grunt.registerTask('default', ['mkdir', 'swig', 'htmlmin', 'cssmin', 'uglify', 'imagemin', 'copy']); + grunt.registerTask('default', ['mkdir', 'swig', 'htmlmin', 'cssmin', 'uglify', 'copy']); }; -- cgit v1.2.3