From 79f0e95c8f1bf0513557776ced45eaa89b09b3c2 Mon Sep 17 00:00:00 2001 From: HatScripts Date: Sat, 6 Dec 2025 21:55:56 +1100 Subject: [PATCH] Expand SVG attribute removal list in SVGO config Added 'data', 'fill-rule', and 'xml' to the list of attributes removed by the SVGO 'removeAttrs' plugin to further optimize SVG files. --- svgo.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svgo.config.js b/svgo.config.js index 68910a5..b8cec81 100644 --- a/svgo.config.js +++ b/svgo.config.js @@ -9,7 +9,7 @@ module.exports = { { name: 'removeAttrs', params: { - attrs: '(color|font|opacity|paint|stroke|text).*' + attrs: '(color|data|fill-rule|font|opacity|paint|stroke|text|xml).*' } }, 'convertStyleToAttrs',