fix "file" in the source map
authorMihai Bazon <mihai@bazon.net>
Mon, 10 Sep 2012 12:52:53 +0000 (15:52 +0300)
committerMihai Bazon <mihai@bazon.net>
Mon, 10 Sep 2012 12:52:53 +0000 (15:52 +0300)
bin/uglifyjs2

index 1b64c2f..0c2de4e 100755 (executable)
@@ -61,7 +61,7 @@ var STATS = {};
 var OUTPUT_FILE = ARGS.o;
 
 var SOURCE_MAP = ARGS.source_map ? UglifyJS.SourceMap({
-    file: output,
+    file: OUTPUT_FILE,
     root: ARGS.source_map_root
 }) : null;