From bd75cbef4a2f348325f6500d4e6fd41bf46d31fb Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Thu, 24 Oct 2019 19:48:03 +0100 Subject: [PATCH] Remove unused imagemin build step Change-Id: Iedd3ecaefe8ba0e0ce469098a86a864e87711276 --- Gruntfile.js | 20 ------------- package.json | 1 - yarn.lock | 80 ---------------------------------------------------- 3 files changed, 101 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index d4f16e0d..8a4dafb3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -160,25 +160,6 @@ module.exports = function (grunt) { } }, - /** - * grunt imagemin - * - * Runs optimizations on our images and copies them to the dist - * directory. - */ - imagemin: { - dist: { - files: [ - { - expand: true, - cwd: dir.source + '/images', - src: '**/*.{png,jpg,jpeg}', - dest: dir.output + '/images' - } - ] - } - }, - /** * Compile our SVG's into fonts. This is a utility method only which * needs to be executed manually. @@ -563,7 +544,6 @@ module.exports = function (grunt) { 'useminPrepare', 'concat', 'sass', - 'imagemin', 'html2js', 'copy:dist', 'usemin' diff --git a/package.json b/package.json index 216069df..fff2c212 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "grunt-contrib-copy": "^0.6.0", "grunt-contrib-cssmin": "^0.10.0", "grunt-contrib-htmlmin": "^0.3.0", - "grunt-contrib-imagemin": "^0.8.1", "grunt-contrib-uglify": "^0.6.0", "grunt-contrib-watch": "^0.6.1", "grunt-env": "^0.4.1", diff --git a/yarn.lock b/yarn.lock index c8bad1c1..0be4e32b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2393,15 +2393,6 @@ grunt-contrib-htmlmin@^0.3.0: html-minifier "~0.6.0" pretty-bytes "~0.1.0" -grunt-contrib-imagemin@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/grunt-contrib-imagemin/-/grunt-contrib-imagemin-0.8.1.tgz#78cf20c849c811947b38eddd8efbf3e3d2d61b78" - dependencies: - async "^0.9.0" - chalk "^0.5.1" - imagemin "^1.0.4" - pretty-bytes "^1.0.1" - grunt-contrib-uglify@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/grunt-contrib-uglify/-/grunt-contrib-uglify-0.6.0.tgz#3a271d4dc4daba64691d0d0d08550ec54a7ec0ab" @@ -2778,61 +2769,6 @@ iltorb@^1.0.13: node-gyp "^3.6.2" prebuild-install "^2.3.0" -imagemin-gifsicle@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/imagemin-gifsicle/-/imagemin-gifsicle-1.0.0.tgz#3286273d28787b710275c17aa2c5c5872c4e1ecd" - dependencies: - exec-buffer "^1.0.0" - gifsicle "^1.0.0" - is-gif "^1.0.0" - -imagemin-jpegtran@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/imagemin-jpegtran/-/imagemin-jpegtran-1.0.0.tgz#11a1dde4c408a5206d592562b1513e4d1c6771f1" - dependencies: - exec-buffer "^1.0.0" - is-jpg "^1.0.0" - jpegtran-bin "^1.0.0" - -imagemin-optipng@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/imagemin-optipng/-/imagemin-optipng-1.0.0.tgz#4602c319292750c8c197d72c605a21161b68e385" - dependencies: - exec-buffer "^1.0.0" - is-png "^1.0.0" - optipng-bin "^1.0.0" - -imagemin-pngquant@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/imagemin-pngquant/-/imagemin-pngquant-1.0.2.tgz#749679311d28cc4ceb744cf56ff7ac99109a8aff" - dependencies: - exec-buffer "^1.0.0" - is-png "^1.0.0" - pngquant-bin "^1.0.1" - -imagemin-svgo@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/imagemin-svgo/-/imagemin-svgo-1.0.2.tgz#509405f5ab8241091eff7f90697b83164c5d9860" - dependencies: - is-svg "^1.0.0" - svgo "^0.4.5" - -imagemin@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/imagemin/-/imagemin-1.0.5.tgz#86e6dc89cb75985aed6e8cffb945d44dc59a6a91" - dependencies: - fs-extra "^0.11.0" - get-stdin "^3.0.0" - nopt "^3.0.1" - stat-mode "^0.2.0" - tempfile "^1.0.0" - ware "^0.3.0" - optionalDependencies: - imagemin-gifsicle "^1.0.0" - imagemin-jpegtran "^1.0.0" - imagemin-optipng "^1.0.0" - imagemin-pngquant "^1.0.1" - imagemin-svgo "^1.0.2" in-publish@^2.0.0: version "2.0.0" @@ -3168,14 +3104,6 @@ jasminewd@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/jasminewd/-/jasminewd-1.1.0.tgz#25751a6845ef2fb424c2fa39647987ae156fd433" -jpegtran-bin@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/jpegtran-bin/-/jpegtran-bin-1.0.2.tgz#66639e97554a10fcd5c6de5d40a34551399d5970" - dependencies: - bin-build "^1.0.0" - bin-wrapper "^1.0.0" - log-symbols "^1.0.0" - js-base64@^2.1.8: version "2.4.3" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.4.3.tgz#2e545ec2b0f2957f41356510205214e98fad6582" @@ -4239,14 +4167,6 @@ pkginfo@0.3.x: version "0.3.1" resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.3.1.tgz#5b29f6a81f70717142e09e765bbeab97b4f81e21" -pngquant-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/pngquant-bin/-/pngquant-bin-1.0.1.tgz#cdafc4af5984b1088b8a663747b77ebd82cf4f9d" - dependencies: - bin-build "^1.0.0" - bin-wrapper "^1.0.0" - log-symbols "^1.0.0" - portscanner@~0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/portscanner/-/portscanner-0.2.3.tgz#40d8adc92e01b205ab020aa16f0e386ac5ed1978"