Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage with tree shaking and minification #13

Open
rschoenbichler opened this issue Feb 7, 2023 · 0 comments
Open

coverage with tree shaking and minification #13

rschoenbichler opened this issue Feb 7, 2023 · 0 comments

Comments

@rschoenbichler
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant