Hi,
I'm having a problem with the plugin in terms of the svgoOptions integration.
I'm using version 3.0.3 of the plugin.
This is the configuration I've for the plugin:
{
svg: {
style: 'display: none;'
},
// All the svgo options are taken from here: https://github.com/svg/svgo#what-it-can-do
svgoOptions: {
plugins: [
{ removeXMLNS: true } // Changed from default of `false`
]
}
}
As you can see, I still have xmlns attributes in my generated symbols..
I do know that the plugin is working since my app is running + you can see int he result svg that we have the icon- prefix in the ids..
Any reason why is that?
P.S:
My actual configuration I have has more plugins.. But even the simple configuration with only removeXMLNS isn't working for me.. Here is the full configuration I have:
Hi, I'm having a problem with the plugin in terms of the
svgoOptions
integration. I'm using version3.0.3
of the plugin.This is the configuration I've for the plugin:
My end result svg file looks like this:
As you can see, I still have
xmlns
attributes in my generatedsymbols
.. I do know that the plugin is working since my app is running + you can see int he result svg that we have theicon-
prefix in the ids..Any reason why is that?
P.S: My actual configuration I have has more plugins.. But even the simple configuration with only
removeXMLNS
isn't working for me.. Here is the full configuration I have: