Skip to content

Conversation

rpd10
Copy link

@rpd10 rpd10 commented Aug 26, 2025

This PR fixes #814 by passing through the existing sourceMap option when invoking esbuild inside the Angular build adapter. The plugin is already normalizing the sourcemap options, I chose to pass sourcemapOptions.scripts as the flag for whether to enable source maps.

I considered an alternative implementation of adding a new builder schema option to explicitly define sourceMaps, but I think that would be confusing since it wraps/adapts the existing ESBuild options.

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

Successfully merging this pull request may close these issues.

SourceMap for exposed module
1 participant