Skip to content

fix(@angular-devkit/build-angular): warn when components styles sourcemaps are not generated when styles optimization is enabled#24200

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:sm-component-warn
Nov 8, 2022
Merged

fix(@angular-devkit/build-angular): warn when components styles sourcemaps are not generated when styles optimization is enabled#24200
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:sm-component-warn

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

With this change we add a warning to inform the users that sourcemaps are not generated when both styles sourcemaps and optimization are enabled. This is because component style sourcemaps are inline which would drastically increase the bundle size.

Closes #22834

@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Nov 8, 2022
@alan-agius4 alan-agius4 requested a review from clydin November 8, 2022 13:10
@alan-agius4 alan-agius4 requested a review from clydin November 8, 2022 17:06
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Nov 8, 2022
…emaps are not generated when styles optimization is enabled

With this change we add a warning to inform the users that sourcemaps are not generated when both styles sourcemaps and optimization are enabled. This is because component style sourcemaps are inline which would drastically increase the bundle size.

Closes angular#22834
@alan-agius4 alan-agius4 added target: rc This PR is targeted for the next release-candidate and removed target: patch This PR is targeted for the next patch release labels Nov 8, 2022
@alan-agius4 alan-agius4 merged commit c83aaed into angular:main Nov 8, 2022
@alan-agius4 alan-agius4 deleted the sm-component-warn branch November 8, 2022 18:09
@angular-automatic-lock-bot
Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS sourcemap files aren't produced

2 participants