You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to set svgo false or disable some plugins of it, but it just won't work.
I put below line in my production.rb config.assets.image_optim = {pngout: false, svgo: {disable_plugins: ['convertPathData']}}
Tried several times but still no good, svgo touched my svg files, not even svgo:false work too.
Fortunately pngout: false works good.
BTW ~/.config/image_optim.yml ./.image_optim.yml
still working
version of image_optim: 0.22.0
version of svgo: 0.6.1
The text was updated successfully, but these errors were encountered:
I've switched verbose mode by adding verbose: true to view which commands are executed and with your options I see svgo --disable\=convertPathData … in the output.
Also when I disable svgo by specifying svgo: false, svgo is not executed.
It is a late reply, but is it possible for you to provide more information on this issue? What do you mean by svgo touched files?
I want to set svgo false or disable some plugins of it, but it just won't work.
I put below line in my
production.rb
config.assets.image_optim = {pngout: false, svgo: {disable_plugins: ['convertPathData']}}
Tried several times but still no good, svgo touched my svg files, not even
svgo:false
work too.Fortunately
pngout: false
works good.BTW
~/.config/image_optim.yml
./.image_optim.yml
still working
version of image_optim: 0.22.0
version of svgo: 0.6.1
The text was updated successfully, but these errors were encountered: