Add simple file globbing to bin/uglifyjs for Windows

This commit is contained in:
kzc
2016-07-29 16:18:56 -04:00
committed by Richard van Velzen
parent 38756b1f26
commit 72306b9885
2 changed files with 47 additions and 0 deletions

View File

@@ -273,6 +273,9 @@ if (ARGS.comments != null) {
var files = ARGS._.slice();
if (process.platform === "win32")
files = UglifyJS.simple_glob(files);
if (ARGS.self) {
if (files.length > 0) {
print_error("WARN: Ignoring input files since --self was passed");