1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/lib/middleman/extensions/minify_css.rb

15 lines
No EOL
334 B
Ruby

module Middleman::Extensions
module MinifyCss
class << self
def registered(app)
require "middleman/extensions/minify_css/cssmin"
app.after_configuration do
set :css_compressor, ::CSSMin
end
end
alias :included :registered
end
end
register :minify_css, MinifyCss
end