Commit 829bdc6
fix(@angular/build): preserve coverage ignore comments in development
When script optimization is disabled, set esbuild `legalComments` to 'inline'
to prevent it from moving ignore comments to the end of the file. This ensures
that coverage tools (like Istanbul and V8) can find the comments in place
and correctly associate them with the code they are supposed to ignore.1 parent 5035705 commit 829bdc6
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments