diff options
Diffstat (limited to 'node_modules/nyc/lib/instrumenters/istanbul.js')
-rw-r--r-- | node_modules/nyc/lib/instrumenters/istanbul.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node_modules/nyc/lib/instrumenters/istanbul.js b/node_modules/nyc/lib/instrumenters/istanbul.js index 38e5315bc..2cc1209aa 100644 --- a/node_modules/nyc/lib/instrumenters/istanbul.js +++ b/node_modules/nyc/lib/instrumenters/istanbul.js @@ -9,9 +9,10 @@ function InstrumenterIstanbul (cwd, options) { autoWrap: true, coverageVariable: '__coverage__', embedSource: true, - noCompact: false, - preserveComments: true, + compact: options.compact, + preserveComments: options.preserveComments, produceSourceMap: options.produceSourceMap, + ignoreClassMethods: options.ignoreClassMethods, esModules: true }) |