Skip to content

Instantly share code, notes, and snippets.

@markleyland
Last active August 29, 2015 14:13
Show Gist options
  • Save markleyland/db24228f14ddeb6db7bf to your computer and use it in GitHub Desktop.
Save markleyland/db24228f14ddeb6db7bf to your computer and use it in GitHub Desktop.
Autoprefixer config.rb require
require "autoprefixer-rails"
on_stylesheet_saved do |file|
css = File.read(file)
File.open(file, 'w') do |io|
io << AutoprefixerRails.process(css)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment