angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Emit external component styles sourcemap when optimization is enabled

Open alan-agius4 opened this issue 3 years ago • 2 comments

Command

build

Description

Currently, when optimization is enabled, components sourcemaps are always disabled.

Describe the solution you'd like

This is a request to add support for CSS sourcemaps for components when optimization is enabled which can be done by instead of inline sourcemaps as base64 in the JS file we emit the sourcemap as an external file.

This does come with the drawback that a lot of .map files will be emitted. (1 per component stylesheet)

More context: https://github.com/angular/angular-cli/issues/22834

alan-agius4 avatar Oct 11 '22 10:10 alan-agius4

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.

angular-robot[bot] avatar Oct 11 '22 10:10 angular-robot[bot]

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Nov 19 '22 13:11 angular-robot[bot]

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

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

angular-robot[bot] avatar Dec 09 '22 13:12 angular-robot[bot]

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.