From: Mihai Bazon Date: Mon, 10 Sep 2012 12:52:53 +0000 (+0300) Subject: fix "file" in the source map X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=16b12c62875c67a7ca50f6ee184dcb6f476ea350;p=UglifyJS.git fix "file" in the source map --- diff --git a/bin/uglifyjs2 b/bin/uglifyjs2 index 1b64c2f5..0c2de4e6 100755 --- a/bin/uglifyjs2 +++ b/bin/uglifyjs2 @@ -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;