diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-13 18:52:46 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-13 18:52:46 +0200 |
| commit | 90e6b7bdfeccff5e96f0bda23bc5c9ab7b33238a (patch) | |
| tree | 20833fe7ff5e3dd72f38b6804e252d3a428163c1 | |
| parent | 423774190afd6568c709d1cd1b93858a74830f2d (diff) | |
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.
| -rw-r--r-- | Gruntfile.js | 13 | ||||
| -rw-r--r-- | package.json | 1 |
2 files changed, 1 insertions, 13 deletions
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']); }; diff --git a/package.json b/package.json index 2a2a10c..ac6e018 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "grunt-contrib-copy": "^0.8.1", "grunt-contrib-cssmin": "^0.14.0", "grunt-contrib-htmlmin": "^0.5.0", - "grunt-contrib-imagemin": "^0.9.4", "grunt-contrib-uglify": "^0.9.2", "grunt-mkdir": "^0.1.1", "grunt-swig": "^0.2.1" |
