Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created May 4, 2016 07:29
Show Gist options
  • Save SamSaffron/336c4bb73c6ea6ca071dba7455af8cbf to your computer and use it in GitHub Desktop.
Save SamSaffron/336c4bb73c6ea6ca071dba7455af8cbf to your computer and use it in GitHub Desktop.
require 'therubyracer'
require 'uglifier'
puts Uglifier.compile(File.read(ARGV[0]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment