diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-04-16 16:30:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 23:30:25 +0800 |
commit | 46d142cbf6f14692063fe52b807955ee52704a7b (patch) | |
tree | e47ac1457f5c31006da92831519813e076e8e179 /test/mocha/cli.js | |
parent | 38c3bcf9a000a162c9f28f7d92f43702ef48716f (diff) | |
download | tracifyjs-46d142cbf6f14692063fe52b807955ee52704a7b.tar.gz tracifyjs-46d142cbf6f14692063fe52b807955ee52704a7b.zip |
improve source-map generation (#3782)
- emit singleton segments to mark generated code from input
Diffstat (limited to 'test/mocha/cli.js')
-rw-r--r-- | test/mocha/cli.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js index 82f76c0d..8642a6b4 100644 --- a/test/mocha/cli.js +++ b/test/mocha/cli.js @@ -109,9 +109,12 @@ describe("bin/uglifyjs", function() { } var command = [ uglifyjscmd, - "--source-map", "content=" + mapFile, - "--source-map", "includeSources=true", - "--source-map", "url=inline", + "--beautify", + "--source-map", [ + "content=" + mapFile, + "includeSources", + "url=inline", + ].join(","), ].join(" "); var child = exec(command, function(err, stdout) { |