Skip to content

feat(@angular-devkit/build-angular): add preload hints based on transitive initial files#25340

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:index-link-hints
Jun 9, 2023
Merged

feat(@angular-devkit/build-angular): add preload hints based on transitive initial files#25340
alan-agius4 merged 1 commit intoangular:mainfrom
clydin:index-link-hints

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Jun 8, 2023

When using the esbuild-based browser application builder, the pre-existing initial file analysis is now used to generate preload hints for any transitive initial files required by the application. These hints are generated for both the initial JavaScript chunks and any initial global stylesheets that may be present. These hints provide additional information to the browser so that it can start and better prioritize fetching of files needed to start the application.

@clydin clydin added the target: minor This PR is targeted for the next minor release label Jun 8, 2023
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jun 8, 2023
@clydin clydin force-pushed the index-link-hints branch from 2aa584f to db6ed27 Compare June 8, 2023 15:02
…itive initial files

When using the esbuild-based browser application builder, the pre-existing initial file
analysis is now used to generate preload hints for any transitive initial files required
by the application. These hints are generated for both the initial JavaScript chunks and
any initial global stylesheets that may be present. These hints provide additional
information to the browser so that it can start and better prioritize fetching of files
needed to start the application.
@clydin clydin force-pushed the index-link-hints branch from db6ed27 to 6f70f98 Compare June 8, 2023 15:18
@clydin clydin marked this pull request as ready for review June 8, 2023 15:36
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jun 8, 2023
@clydin clydin requested a review from alan-agius4 June 8, 2023 15:36
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 9, 2023
@alan-agius4 alan-agius4 merged commit 2a3fc68 into angular:main Jun 9, 2023
@clydin clydin deleted the index-link-hints branch June 9, 2023 12:00
@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 Jul 10, 2023
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 detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants