-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Documentation: How to disable a plugin #1760
Comments
https://github.com/svg/svgo#default-preset Is it possible that you need to do this?:
|
@duncandejong your suggestion yields this error |
There are instructions for it on the README, though it probably could be clearer. ^-^' https://github.com/svg/svgo#default-preset @LuisAlejandro Since v3.0.0, it's called |
Hey! Thanks for proposing this. We now have documentation for this here: |
There doesn't appear to be any documentation on how to disable a plugin (which is enabled by default).
It seems it used to be:
but not any more. I've seen in other issues and stack overflow suggest
active: false
, egbut this also doesn't work.
Anyway so I took a look at the plugin source code and it seems that the correct way is:
I'm thinking it might help others to document this. Happy to submit a PR
Edit: ps. there wasn't a "documentation" option available when I opened the issue, hence the label
The text was updated successfully, but these errors were encountered: