Conversation
|
Thank you for opening the PR! |
|
I've modified the patch to memoise the config file so it's only created once. As to testing it would be nice but I'm struggling to figure out how to test it... Are there even any tests that run svgo conversions? I can see there's a test svg file but I can't see what uses it? Even then I'm not sure how you'd test that this is working let alone testing the fallback path when we only have a current svgo. |
to include the new revision of toy/image_optim#224
|
I tried testing how it works and understood that current solution will work only for disabling plugins included in Simple way to handle this is to just list all enabled plugins after What do you think? |
This resolves #191 by generating a configuration file for svgo if the version is 2.x or higher.