-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Emit external component styles sourcemap when optimization is enabled #24049
Copy link
Copy link
Closed
Labels
area: @angular-devkit/build-angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors
Description
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: #22834
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authors