compile_vendors_rails.rb

Home   »   compile_vendors_rails.rb

JS_PATH = "vendor/assets/javascripts/**/*.js"; 
Dir[JS_PATH].each do |file_name|
  puts "\n#{file_name}"
  puts Uglifier.compile(File.read(file_name))
end

Leave a Reply

Your email address will not be published. Required fields are marked *