Configure ImageOptim
Workarea uses the image_optim gem to optimize images. It will grab the global Rails image_optim config when looking for configuration.
your_app/config/initializers/image_optim.rb:
My::Application.configure do
# These are the default values
config.assets.image_optim = {
pack: true,
pngout: false,
svgo: false
}
end
Help Us Improve this Doc
Was this helpful? Open a GitHub issue to report a problem with this doc, suggest an improvement, or otherwise provide feedback. Thanks!