Last active
August 29, 2015 14:13
-
-
Save markleyland/db24228f14ddeb6db7bf to your computer and use it in GitHub Desktop.
Autoprefixer config.rb require
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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