c49631dc by Adam Heath

Add a way to disable svgmin.

1 parent 44ff55f0
......@@ -780,12 +780,15 @@ module.exports = function (grunt) {
}
if (mpConfig.images) {
var minify = mpConfig.images.options.minify;
var svgmin = mpConfig.images.options.svgmin;
if (minify === undefined || minify) {
copyList.push('imagemin'); // image
} else {
copyList.push('copy:img'); // image
}
if (svgmin === undefined || svgmin) {
minifyList.push('svgmin'); // image
}
revList.push('rev:img'); // image
}
if (mpConfig.fonts) {
......