var convert = require('convert-source-map');
var type = require('../file-type');

function getComment(map, fileType) {

    var encodedMap = 'sourceMappingURL=data:application/json;base64,' + convert.fromObject(map).toBase64();

    switch (fileType) {

        case type.CSS:
            return '/*# ' + encodedMap + ' */';

        case type.JS:
            return '//# ' + encodedMap;

    }

}

module.exports = getComment;
var convert = require('convert-source-map');
var type = require('../file-type');

function getComment(map, fileType) {

    var mapConverter = convert.fromObject(map);

    switch (fileType) {

        case type.CSS:
            return mapConverter.toComment({
                multiline: true
            });

        case type.JS:
            return mapConverter.toComment();

    }

}

module.exports = getComment;
--- 
+++ 
@@ -3,17 +3,15 @@
 
 function getComment(map, fileType) {
 
-    var mapConverter = convert.fromObject(map);
+    var encodedMap = 'sourceMappingURL=data:application/json;base64,' + convert.fromObject(map).toBase64();
 
     switch (fileType) {
 
         case type.CSS:
-            return mapConverter.toComment({
-                multiline: true
-            });
+            return '/*# ' + encodedMap + ' */';
 
         case type.JS:
-            return mapConverter.toComment();
+            return '//# ' + encodedMap;
 
     }
 
Make this a bit clearer.
