You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2023. It is now read-only.
I'm having issues where many (all) svg icons have the same class names, but different styles on them.
I'm using { prefixIds: true } to enable that plugin. By default it looks like that also would mean that it should have prefixClassNames: true.
I can't figure out how to make the prefixing of class names to work — do you have any suggestion on how to configure this?
Might it be onlyMatchedOnce in plugin that is making this not work?
How do I configure the prefixIds-plugin?
Reading your documentation it seems like adding plugins is more or less adding { pluginName: true } in svgoOptions.plugins-array!? Or should I replace true with a plugin-option-object?
Hi,
I'm having issues where many (all) svg icons have the same class names, but different styles on them.
I'm using
{ prefixIds: true }to enable that plugin. By default it looks like that also would mean that it should haveprefixClassNames: true.I can't figure out how to make the prefixing of class names to work — do you have any suggestion on how to configure this?
Might it be
onlyMatchedOncein plugin that is making this not work?How do I configure the
prefixIds-plugin?Reading your documentation it seems like adding plugins is more or less adding
{ pluginName: true }insvgoOptions.plugins-array!? Or should I replacetruewith a plugin-option-object?