-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove some attributes from the svg #138
Comments
What do you mean by unsupported attribute? |
In my case, the SVG has some attributes in there which are not valid SVG attributes. When I use these SVG in my code, I get a warning in the console.log. It's not super important, because it's just a warning. I was only wondering if this would be possible. |
I am sorry but it is not a very common use-case. I suggest you to write h2x plugin to do it if you want, you can also see if SVGO want to support it. I think it is optimisation, so it should not be in SVGR. |
The documentation says it is possible to remove an attribute from the SVG with
--svg-attributes <property=value>
. Is it possible to remove (unsupported) attributes too?Thanks for the project. Very much appreciated ❤️
The text was updated successfully, but these errors were encountered: