Hello everyone.
I’m having trouble building my site when active middleman-ImageOptim.
When I buid middleman says ":image_optim is deprecated. Please use :imageoptim
instead."
Anyone knows how to solve this?
Thank you
My Gem file
source ‘https://rubygems.org’
gem ‘wdm’, ‘~> 0.1.0’, platforms: [:mswin, :mingw]
gem ‘tzinfo-data’, platforms: [:mswin, :mingw, :jruby]
gem ‘middleman’, ‘>= 4.0.0’
gem ‘middleman-minify-html’, ‘>= 3.4.1’
gem ‘middleman-imageoptim’
My config.rb
configure :build do
activate :imageoptim
activate :minify_html, :remove_input_attributes => false
activate :minify_css
activate :minify_javascript
end