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

Allow sourcesContent configuration #29551

Open
HazzMan2409 opened this issue Jan 31, 2025 · 3 comments
Open

Allow sourcesContent configuration #29551

HazzMan2409 opened this issue Jan 31, 2025 · 3 comments
Labels
angular/build:application area: @angular/build feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature

Comments

@HazzMan2409
Copy link

Command

build

Description

I want to serve source maps in production for stack traces but not expose my source code.

esbuild does support this https://esbuild.github.io/api/#sources-content but the angular cli does not allow it to be configured directly.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Feb 1, 2025
Copy link
Contributor

angular-robot bot commented Feb 1, 2025

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

@alan-agius4
Copy link
Collaborator

Are you using hidden source maps? If so, one approach could be we disable sourcesContent when they are hidden.

@HazzMan2409
Copy link
Author

No, we aren’t using hidden source maps because we want it to be easy to see stack traces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular/build:application area: @angular/build feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

2 participants