-
Notifications
You must be signed in to change notification settings - Fork 90
Can't get prefixClassNames to work #179
Comments
Or is it your When testing it seems that I Is it possible to make a I tried different plugins, but almost none seems to do as I wish.
However, the I'm starting to like this webpack plugin, so it would be nice if we could put in any svg and just configure this correctly, not having to send the svg:s back to the customer and asking them to export inline styled versions — my guess is that it's possible, that I do something wrong!? |
I tried a hacky (not perfect at all) version, added a
And in
It did solve my issues, maybe not a perfect solution. But I rather like it to be solved by |
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
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 }
insvgoOptions.plugins
-array!? Or should I replacetrue
with a plugin-option-object?The text was updated successfully, but these errors were encountered: