Skip to content

Conversation

alan-agius4
Copy link
Contributor

@alan-agius4 alan-agius4 commented Aug 9, 2024

This update prevents the inclusion of esbuild optimization plugins when both linking and downleveling are disabled. It also removes //shared-scripts/angular-optimization:js_lib from the spec-bundle unless explicit linking is required. This change addresses a circular dependency issue previously observed with this rule in the Angular CLI, leading to the removal of a related patch. For more details, see: https://github.com/angular/angular-cli/blob/3c9697a8c34a5e0f3470bde73f11f9f32107f42e/.yarn/patches/%40angular-build-tooling-https-06f4984cdf.patch

@alan-agius4 alan-agius4 force-pushed the optimization-angular branch from 9fab47c to 0bb2d99 Compare August 9, 2024 10:33
@alan-agius4 alan-agius4 changed the title fix(bazel): simplify plugin usage and dependency management fix(bazel): conditionally add esbuild optimization plugins Aug 9, 2024
@alan-agius4 alan-agius4 force-pushed the optimization-angular branch 3 times, most recently from cde5fee to d5f31a0 Compare August 9, 2024 10:42
@alan-agius4 alan-agius4 closed this Aug 9, 2024
@alan-agius4 alan-agius4 reopened this Aug 9, 2024
This update prevents the inclusion of esbuild optimization plugins when both linking and downleveling are disabled. It also removes //shared-scripts/angular-optimization:js_lib from the spec-bundle unless explicit linking is required. This change addresses a circular dependency issue previously observed with this rule in the Angular CLI, leading to the removal of a related patch. For more details, see:  https://github.com/angular/angular-cli/blob/3c9697a8c34a5e0f3470bde73f11f9f32107f42e/.yarn/patches/%40angular-build-tooling-https-06f4984cdf.patch
@alan-agius4 alan-agius4 force-pushed the optimization-angular branch from d5f31a0 to 1d5aa4d Compare August 9, 2024 10:53
@alan-agius4 alan-agius4 requested a review from devversion August 9, 2024 10:58
@alan-agius4 alan-agius4 marked this pull request as ready for review August 9, 2024 10:58
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Aug 9, 2024
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it

@devversion devversion merged commit 7d0c4c6 into angular:main Aug 9, 2024
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this pull request Aug 9, 2024
This patch is no longer required following the changes in angular/dev-infra#2243
alan-agius4 added a commit to alan-agius4/angular-cli that referenced this pull request Aug 9, 2024
This patch is no longer required following the changes in angular/dev-infra#2243
@alan-agius4 alan-agius4 deleted the optimization-angular branch August 9, 2024 11:20
clydin pushed a commit to angular/angular-cli that referenced this pull request Aug 9, 2024
This patch is no longer required following the changes in angular/dev-infra#2243
@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 Sep 9, 2024
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants