This commit is contained in:
Manuel Bouza 2015-01-12 09:49:17 +00:00
commit 1aaafd8419

View File

@ -80,7 +80,7 @@ exports.minify = function(files, options) {
: fs.readFileSync(file, "utf8"); : fs.readFileSync(file, "utf8");
sourcesContent[file] = code; sourcesContent[file] = code;
toplevel = UglifyJS.parse(code, { toplevel = UglifyJS.parse(code, {
filename: options.fromString ? "?" : file, filename: options.fromString ? options.outSourceMap : file,
toplevel: toplevel toplevel: toplevel
}); });
}); });