-
Notifications
You must be signed in to change notification settings - Fork 110
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
Cannot pass options to svgo in rails config #119
Comments
I've switched verbose mode by adding |
Touched means svgo still change my files. I will reply after I check it again. |
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: