From 812be53b5dc1a5db66e19761ad4f2ea00d121cc4 Mon Sep 17 00:00:00 2001 From: Lucas Becker Date: Sat, 25 Jan 2020 11:13:05 +0100 Subject: [PATCH] SVGO config update (#2467) Includes now the by default disabled `removeNone` param for `removeUselessStrokeAndFill` See: https://github.com/svg/svgo/blob/master/plugins/removeUselessStrokeAndFill.js --- .svgo.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.svgo.yml b/.svgo.yml index 2e7dec80c..8d605d34f 100644 --- a/.svgo.yml +++ b/.svgo.yml @@ -38,6 +38,10 @@ plugins: attrs: - baseProfile + # remove paths with fill="none" + - removeUselessStrokeAndFill: + removeNone: true + # Enable everything else - removeDoctype - removeXMLProcInst @@ -57,7 +61,6 @@ plugins: - cleanupListOfValues - convertColors - removeNonInheritableGroupAttrs - - removeUselessStrokeAndFill - removeViewBox - cleanupEnableBackground - removeHiddenElems