Fix default SVG optimisation configuration

This commit is contained in:
Harry Green
2018-03-19 21:06:51 +00:00
parent ea76b61cd5
commit 0c11974859

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),
}),