c49631dc by Adam Heath

Add a way to disable svgmin.

1 parent 44ff55f0
...@@ -780,12 +780,15 @@ module.exports = function (grunt) { ...@@ -780,12 +780,15 @@ module.exports = function (grunt) {
780 } 780 }
781 if (mpConfig.images) { 781 if (mpConfig.images) {
782 var minify = mpConfig.images.options.minify; 782 var minify = mpConfig.images.options.minify;
783 var svgmin = mpConfig.images.options.svgmin;
783 if (minify === undefined || minify) { 784 if (minify === undefined || minify) {
784 copyList.push('imagemin'); // image 785 copyList.push('imagemin'); // image
785 } else { 786 } else {
786 copyList.push('copy:img'); // image 787 copyList.push('copy:img'); // image
787 } 788 }
788 minifyList.push('svgmin'); // image 789 if (svgmin === undefined || svgmin) {
790 minifyList.push('svgmin'); // image
791 }
789 revList.push('rev:img'); // image 792 revList.push('rev:img'); // image
790 } 793 }
791 if (mpConfig.fonts) { 794 if (mpConfig.fonts) {
......