Skip to content

Conversation

alan-agius4
Copy link
Collaborator

This commit refactors the build process for server-side rendering (SSR) by dividing server assets into separate, importable chunks rather than bundling them into a single output file

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Nov 2, 2024
@alan-agius4 alan-agius4 requested a review from dgp1130 November 2, 2024 10:12
@alan-agius4 alan-agius4 removed the request for review from dgp1130 November 2, 2024 10:47
@alan-agius4 alan-agius4 marked this pull request as draft November 2, 2024 10:48
@alan-agius4 alan-agius4 requested a review from dgp1130 November 2, 2024 11:38
@alan-agius4 alan-agius4 marked this pull request as ready for review November 2, 2024 11:38
This commit refactors the build process for server-side rendering (SSR) by dividing server assets into separate, importable chunks rather than bundling them into a single output file.
…adata

Updated the calculation to use `Buffer.byteLength()` for determining the length of escaped file content. This change ensures that the `size` property in server asset metadata accurately represents the length of the escaped content.
Copy link
Collaborator

@dgp1130 dgp1130 left a comment

Choose a reason for hiding this comment

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

Any tests we can add to make sure imported assets are readable / paths line up correctly?

@alan-agius4
Copy link
Collaborator Author

The already existing tests are dependent on these files and hence they are a validation that these work.

@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 Nov 4, 2024
@alan-agius4 alan-agius4 merged commit 71b3de8 into angular:main Nov 4, 2024
32 checks passed
@alan-agius4 alan-agius4 deleted the server-assets branch November 4, 2024 19:31
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 19.0.x

@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 5, 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 area: @angular/build target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants