change --source-map-type [type] flag to --source-maps-inline and rename comment sourcemap type to inline
This commit is contained in:
@@ -54,7 +54,7 @@ transform._run = function (code, tree, opts) {
|
||||
var result = util.generate(tree, genOpts);
|
||||
|
||||
if (opts.sourceMap) {
|
||||
if (opts.sourceMap === "comment") {
|
||||
if (opts.sourceMap === "inline") {
|
||||
result.code += "\n" + util.sourceMapToComment(result.map);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user