Sha256: 07dfbc1831994d6c65ad25bb1ab434ca854eaa27075d559d766387ace3fe7092

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

module Nanoc
  module Filters
    class Autoprefixer < ::Nanoc::Core::Filter
      identifier :autoprefixer

      requires 'autoprefixer-rails'

      def run(content, params={})
        AutoprefixerRails.process(content.dup, params.dup).css
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc-filters-autoprefixer-1.0.1 lib/nanoc/filters/autoprefixer.rb
nanoc-filters-autoprefixer-1.0.0 lib/nanoc/filters/autoprefixer.rb