From 16b12c62875c67a7ca50f6ee184dcb6f476ea350 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Mon, 10 Sep 2012 15:52:53 +0300 Subject: [PATCH] fix "file" in the source map --- bin/uglifyjs2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1