Skip to content

refactor(@angular/build): remove unnecessary source-map-support polyfill for Vitest browser coverage#32419

Closed
clydin wants to merge 1 commit intoangular:mainfrom
clydin:vitest/sourcemap-coverage-cleanup
Closed

refactor(@angular/build): remove unnecessary source-map-support polyfill for Vitest browser coverage#32419
clydin wants to merge 1 commit intoangular:mainfrom
clydin:vitest/sourcemap-coverage-cleanup

Conversation

@clydin
Copy link
Member

@clydin clydin commented Feb 3, 2026

Removes the injection of the source-map-support library in the Vitest builder. This workaround was previously required for correct stack traces in browser mode when coverage was enabled but is no longer necessary. This change simplifies the plugin logic and ensures source maps are consistently handled.

…ill for Vitest browser coverage

Removes the injection of the source-map-support library in the Vitest builder. This workaround was previously required for correct stack traces in browser mode when coverage was enabled but is no longer necessary. This change simplifies the plugin logic and ensures source maps are consistently handled.
@clydin clydin force-pushed the vitest/sourcemap-coverage-cleanup branch from 39b307d to 9ff2c1d Compare February 4, 2026 00:15
@clydin clydin closed this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant