We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425c0fd commit f31d7a6Copy full SHA for f31d7a6
lib/commands/instrument.js
@@ -27,6 +27,11 @@ exports.builder = function (yargs) {
27
type: 'boolean',
28
description: 'should nyc detect and handle source maps?'
29
})
30
+ .option('produce-source-map', {
31
+ default: false,
32
+ type: 'boolean',
33
+ description: "should nyc's instrumenter produce source maps?"
34
+ })
35
.option('instrument', {
36
default: true,
37
@@ -44,6 +49,7 @@ exports.handler = function (argv) {
44
49
var nyc = new NYC({
45
50
instrumenter: argv.instrumenter,
46
51
sourceMap: argv.sourceMap,
52
+ produceSourceMap: argv.produceSourceMap,
47
53
extension: argv.extension,
48
54
require: argv.require
55
0 commit comments