aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard van Velzen <rvanvelzen1@gmail.com>2015-09-06 17:06:14 +0200
committerRichard van Velzen <rvanvelzen1@gmail.com>2015-09-06 17:06:14 +0200
commitba939ccd6ce239a68c3c1c975075f85e78de7673 (patch)
tree9be6a7d7d1ee7bd351c18bf61b045ce796939097 /tools
parentfcde6109b0138502a445a7571adc810b5b9e68ee (diff)
parent3a5f35484606914b54fb80540f51b37fae20282b (diff)
downloadtracifyjs-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.js2
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;
}