-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
I can`t delete prefix in className in svg #411
Comments
Hey @dollock 👋, |
Hi, |
Yeah duplicate of #400 |
let me show you the direct code
|
This is the correct config that eventually worked for me, with the mention that I am using NextJS, so the following snippet is part of my
|
How I understand, @svgr/webpack add prefix (name of svg) for className (for React Project). For example, if my svg named 'name1.svg' and had class="class1", in browser I see className="name1_class1". I want delete prefix and I try use svgo plugin options:
Also I use another options:
But it doesn`t work. Please, help me how delete a prefix for className
"@svgr/webpack": "^5.2.0",
"webpack": "^4.41.5",
The text was updated successfully, but these errors were encountered: