use JavaScript::Minifier qw(minify);

open(INFILE, $ARGV[0]) or die;
open(OUTFILE, ">$ARGV[1]") or die;
minify (input => *INFILE, outfile => *OUTFILE);
close(INFILE);
close(OUTFILE);
