Skip to content

Commit ce7f5f0

Browse files
cedric07cursoragent
andcommitted
fix(svgo): drop prefixIds to keep sprite symbol IDs stable
prefixIds renames symbol IDs during production SVGO minimization, which breaks icon sprites referenced as #icon-{slug} in PHP and markup. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6450ec0 commit ce7f5f0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎config/svgo.config.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ module.exports = {
1010
// Plugins that are not in the "preset-default" and that you want to activate
1111
'removeTitle',
1212
'convertStyleToAttrs',
13-
'prefixIds',
1413
],
1514
}

0 commit comments

Comments
 (0)