Merge pull request #2044 from HJGreen/svgo-configuration

Fix default SVG optimisation configuration
This commit is contained in:
Ben Word
2018-03-19 16:57:35 -06:00
committed by GitHub

View File

@@ -11,7 +11,9 @@ module.exports = {
optipng: { optimizationLevel: 7 },
gifsicle: { optimizationLevel: 3 },
pngquant: { quality: '65-90', speed: 4 },
svgo: { removeUnknownsAndDefaults: false, cleanupIDs: false },
svgo: {
plugins: [{ removeUnknownsAndDefaults: false }, { cleanupIDs: false }],
},
plugins: [imageminMozjpeg({ quality: 75 })],
disable: (config.enabled.watcher),
}),