Skip to content

perf(@angular/build): deduplicate PostCSS dir-dependency glob scans across stylesheets - #34430

Closed
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:perf/postcss-dir-dependency-glob-cache
Closed

alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:perf/postcss-dir-dependency-glob-cache

Conversation

@alan-agius4

@alan-agius4 alan-agius4 commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Cache in-flight and resolved PostCSS dir-dependency glob() promises per `${dir}

…cross stylesheets

Cache in-flight and resolved PostCSS `dir-dependency` `glob()` promises per `${dir}\0${globPattern}` key within `StylesheetPluginFactory` and across instances sharing a `LoadResultCache`, clearing the cache on invalidation. This prevents redundant concurrent directory scans across component stylesheets (e.g., with Tailwind CSS).
@angular-robot angular-robot Bot added area: performance Issues related to performance area: @angular/build labels Oct 20, 2026
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request 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 Nov 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: @angular/build area: performance Issues related to performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant