From 1fbf1ac97f77aece585d5ac984b9eec600d23cb7 Mon Sep 17 00:00:00 2001 From: Raphael Sanchez Date: Fri, 26 Jun 2026 11:15:02 +0200 Subject: [PATCH] fix(svgo): remove prefixIds plugin from SVGO configuration The prefixIds plugin renames SVG symbol IDs during optimization, which breaks icon rendering: PHP references sprites via fixed hashes (e.g. #icon-facebook) in , and prefixed IDs no longer match those references. Removing the plugin restores stable symbol IDs and ensures icons display correctly in the sprite workflow. --- config/svgo.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/config/svgo.config.js b/config/svgo.config.js index 7e994e7..6575407 100644 --- a/config/svgo.config.js +++ b/config/svgo.config.js @@ -12,6 +12,5 @@ module.exports = { // Plugins that are not in the "preset-default" and that you want to activate 'removeTitle', 'convertStyleToAttrs', - 'prefixIds', ], }