Low commit activity in last 3 years
No release in over a year
A nanoc filter that processes CSS with Autoprefixer.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.11, >= 4.11.13
 Project Readme

Nanoc::Filters::Autoprefixer

A nanoc filter that processes CSS with Autoprefixer Rails.

Installation

Add this line to your application's Gemfile:

gem 'nanoc-filters-autoprefixer'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install nanoc-filters-autoprefixer

Usage

Add this line to a Ruby file inside your site's lib directory:

require 'nanoc/filters/autoprefixer'

Then use the :autoprefixer filter in your Rules file:

compile '/**/*.css' do
  filter :autoprefixer, cascade: false
  write :css
end

The Autoprefixer documentation has a list of available options.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/query/nanoc-filters-autoprefixer.

License

The gem is available as open source under the terms of the MIT License.