Skip to content
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

No way of overriding defaults #2

Open
d4rky-pl opened this issue May 15, 2018 · 2 comments
Open

No way of overriding defaults #2

d4rky-pl opened this issue May 15, 2018 · 2 comments

Comments

@d4rky-pl
Copy link

There is no way to override the defaults. This is a problem in our case because imagemin-svgo by default strips all IDs and we need them.

@joelxr
Copy link

joelxr commented Dec 10, 2019

I'm facing the same problem @d4rky-pl related and would be really nice if we can pass the option cleanupIDs: false.

After a little digging and according to the source of SVGGo module, only unused IDs are cleared, so if it's referenced in a style tag or script tag it will be not cleared, so you probably can do something about it.

@joelxr
Copy link

joelxr commented Mar 30, 2020

See #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants