webpack-contrib / istanbul-instrumenter-loader

Istanbul Instrumenter Loader
MIT License
273 stars 65 forks source link

Problems when using babel plugins #89

Open ksolomykinvirtru opened 5 years ago

ksolomykinvirtru commented 5 years ago

In current version of istanbul-lib-instrument ("^1.7.3") Instrumenter class method _createClass does not take into account babel plugins which being used in our project. This method only uses hardcoded list of plugins. In version 3.0.0 this problem was resolved. Please, update version of istanbul-lib-instrument package to 3.0.0 in your package.json.

kinow commented 4 years ago

There's a PR to update the istanbul-lib-instrument version now: https://github.com/webpack-contrib/istanbul-instrumenter-loader/pull/100