diff options
author | Richard van Velzen <rvanvelzen1@gmail.com> | 2015-09-06 17:06:14 +0200 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2015-09-06 17:06:14 +0200 |
commit | ba939ccd6ce239a68c3c1c975075f85e78de7673 (patch) | |
tree | 9be6a7d7d1ee7bd351c18bf61b045ce796939097 /tools | |
parent | fcde6109b0138502a445a7571adc810b5b9e68ee (diff) | |
parent | 3a5f35484606914b54fb80540f51b37fae20282b (diff) | |
download | tracifyjs-ba939ccd6ce239a68c3c1c975075f85e78de7673.tar.gz tracifyjs-ba939ccd6ce239a68c3c1c975075f85e78de7673.zip |
Merge pull request #786 from istr/anonymous-source-map
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; } |