coverage-istanbul-loader
coverage-istanbul-loader copied to clipboard
coverage with tree shaking and minification
Hello,
I'm facing an issue where my coverage report is not properly reflecting the actual bundle. Code which is omitted thanks to tree shaking/minification is showing up as uncovered.
I'm using coverage-istanbul-loader, ts-loader and TerserPlugin for optimization.
devtool is set to source-map and sourceMap is enabled in both tsconfig and terserOptions.
I have been unable to find proper documentation on this topic so far, so any pointers would be appreciated.