diff options
author | Ingo Struck <git@ingostruck.de> | 2015-08-27 19:38:33 +0200 |
---|---|---|
committer | Ingo Struck <git@ingostruck.de> | 2015-08-27 19:38:33 +0200 |
commit | 3a5f35484606914b54fb80540f51b37fae20282b (patch) | |
tree | 9be6a7d7d1ee7bd351c18bf61b045ce796939097 /tools | |
parent | fcde6109b0138502a445a7571adc810b5b9e68ee (diff) | |
download | tracifyjs-3a5f35484606914b54fb80540f51b37fae20282b.tar.gz tracifyjs-3a5f35484606914b54fb80540f51b37fae20282b.zip |
allow for anonymous map generation using string type check
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node.js b/tools/node.js index 29d5632d..eba2bc1d 100644 --- a/tools/node.js +++ b/tools/node.js @@ -131,7 +131,7 @@ exports.minify = function(files, options) { var stream = UglifyJS.OutputStream(output); toplevel.print(stream); - if(options.outSourceMap){ + if (options.outSourceMap && "string" === typeof options.outSourceMap) { stream += "\n//# sourceMappingURL=" + options.outSourceMap; } |