diff options
author | kzc <zaxxon2011@gmail.com> | 2016-07-29 16:18:56 -0400 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2016-08-14 21:46:38 +0200 |
commit | 72306b9885dffcc206b6637a9c22e54fa54a168d (patch) | |
tree | 9e3c68c836e7fd6e4b17076cb44a2f03bc05ba53 /bin/uglifyjs | |
parent | 38756b1f269fec9fc7f13b82d014478662d00c4d (diff) | |
download | tracifyjs-72306b9885dffcc206b6637a9c22e54fa54a168d.tar.gz tracifyjs-72306b9885dffcc206b6637a9c22e54fa54a168d.zip |
Add simple file globbing to bin/uglifyjs for Windows
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-x | bin/uglifyjs | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |