zeus.ugent.be/lib/filters/autoprefixer.rb

10 lines
187 B
Ruby
Raw Normal View History

2016-08-02 18:31:40 +02:00
class AutoprefixerFilter < Nanoc::Filter
require 'autoprefixer-rails'
identifier :autoprefixer
def run(content, _params = {})
AutoprefixerRails.process(content).css
end
end