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

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

Merged
merged 1 commit into from Nov 8, 2022

Conversation

alan-agius4
Copy link
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 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

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