aboutsummaryrefslogtreecommitdiff
path: root/node_modules/nyc/lib/instrumenters
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/nyc/lib/instrumenters')
-rw-r--r--node_modules/nyc/lib/instrumenters/istanbul.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/node_modules/nyc/lib/instrumenters/istanbul.js b/node_modules/nyc/lib/instrumenters/istanbul.js
index c1d4b1338..38e5315bc 100644
--- a/node_modules/nyc/lib/instrumenters/istanbul.js
+++ b/node_modules/nyc/lib/instrumenters/istanbul.js
@@ -11,7 +11,8 @@ function InstrumenterIstanbul (cwd, options) {
embedSource: true,
noCompact: false,
preserveComments: true,
- produceSourceMap: options.produceSourceMap
+ produceSourceMap: options.produceSourceMap,
+ esModules: true
})
return {