From 72306b9885dffcc206b6637a9c22e54fa54a168d Mon Sep 17 00:00:00 2001 From: kzc Date: Fri, 29 Jul 2016 16:18:56 -0400 Subject: Add simple file globbing to bin/uglifyjs for Windows --- bin/uglifyjs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/uglifyjs') diff --git a/bin/uglifyjs b/bin/uglifyjs index 30d234fd..3f0c8254 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -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"); -- cgit v1.2.3