But i found the loc is not correct.
In the file istanbul-instrumenter-loader/dist/index.js:
I found the source is dealed with babel.
So the AST is generated with the babel-resolved code not the real source code. So the fileCoverage is not correct. It does not match the real source code.
This is my webpack.config.js
But i found the loc is not correct. In the file istanbul-instrumenter-loader/dist/index.js:
I found the source is dealed with babel.
So the AST is generated with the babel-resolved code not the real source code. So the fileCoverage is not correct. It does not match the real source code.
So i wonder how to solve this problem?