Merge bc3eca50cc into 47c9895d59
This commit is contained in:
commit
4aa25ba5a6
|
|
@ -95,7 +95,11 @@ exports.minify = function(files, options) {
|
|||
orig: inMap,
|
||||
root: options.sourceRoot
|
||||
});
|
||||
var stream = UglifyJS.OutputStream({ source_map: map });
|
||||
var output_options = {
|
||||
source_map: map
|
||||
};
|
||||
UglifyJS.merge(output_options, options.output_options);
|
||||
var stream = UglifyJS.OutputStream(output_options);
|
||||
toplevel.print(stream);
|
||||
return {
|
||||
code : stream + "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user