This commit is contained in:
Guy Bedford 2013-12-07 12:06:05 -08:00
commit 50e01d93b1

View File

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