Skip to content

Commit f18f780

Browse files
tehsenausbcoe
authored andcommitted
fix: add support for ES6 modules
1 parent 0e6b277 commit f18f780

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/instrumenters/istanbul.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ function InstrumenterIstanbul (cwd, options) {
1111
embedSource: true,
1212
noCompact: false,
1313
preserveComments: true,
14-
produceSourceMap: options.produceSourceMap
14+
produceSourceMap: options.produceSourceMap,
15+
esModules: true
1516
})
1617

1718
return {

0 commit comments

Comments
 (0)