Skip to content

refactor(@angular/build): convert metadata when using experimental chunk optimization #30806

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clydin
Copy link
Member

@clydin clydin commented Jul 30, 2025

Refactors the chunk optimizer by introducing several helper functions to improve readability and maintainability. The rolldownToEsbuildMetafile function now converts rolldown output to an esbuild metafile, and the optimizeChunks function has been updated to use it. Additionally, helper functions have been created for generating initial file records and chunk optimization failure messages.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Jul 30, 2025
@clydin clydin force-pushed the chunk-optimizer/metadata branch from 817463c to dfa9f01 Compare July 30, 2025 22:04
…unk optimization

Refactors the chunk optimizer by introducing several helper functions to improve readability and
maintainability. The `rolldownToEsbuildMetafile` function now converts rolldown output to an esbuild metafile, and
the `optimizeChunks` function has been updated to use it. Additionally, helper functions have been created for
generating initial file records and chunk optimization failure messages.
@clydin clydin force-pushed the chunk-optimizer/metadata branch from dfa9f01 to d2138b2 Compare July 30, 2025 22:10
@clydin clydin marked this pull request as ready for review July 30, 2025 22:42
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/build target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant