diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/node.js b/tools/node.js index 5a143759..6712ccf6 100644 --- a/tools/node.js +++ b/tools/node.js @@ -73,6 +73,7 @@ exports.minify = function(files, options) { bare_returns: options.parse ? options.parse.bare_returns : undefined }); } + if (!options.fromString) files = UglifyJS.simple_glob(files); [].concat(files).forEach(function (files, i) { if (typeof files === 'string') { addFile(files, options.fromString ? i : files); |