Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created May 4, 2016 07:29

Revisions

  1. SamSaffron created this gist May 4, 2016.
    4 changes: 4 additions & 0 deletions uglify.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    require 'therubyracer'
    require 'uglifier'

    puts Uglifier.compile(File.read(ARGV[0]))