webpack-contrib/istanbul-instrumenter-loader

Document ES2015 Modules Support

battmanz opened this issue · 1 comments

I found this comment that explains how to use ES2015 modules with the istanbul-instrumenter-loader. In Webpack 2, it would look like:

use: 'istanbul-instrumenter-loader',
options: {
  esModules: true
}

I tried it and it works. Can that be documented somewhere? I had to hunt through open issues in order to find it.

Nevermind, just found it documented here