Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Currently, dependencies which are used in both the server and browser bundles are optimized twice. This causes Babel to transform the same file multiple times, with this change we cache the transformation in memory and re-use the previously transformed if present.

@alan-agius4 alan-agius4 requested a review from clydin November 3, 2023 15:41
@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 3, 2023
@alan-agius4 alan-agius4 force-pushed the cache-babel-transforms-vite branch 2 times, most recently from 4bc3efa to 26348d9 Compare November 3, 2023 18:37
…bel transformations in memory

Currently, dependencies which are used in both the server and browser bundles are optimized twice. This causes Babel to transform the same file multiple times, with this change we cache the transformation in memory and re-use the previously transformed if present.
@alan-agius4 alan-agius4 force-pushed the cache-babel-transforms-vite branch from 26348d9 to b5de688 Compare November 4, 2023 09:53
@alan-agius4 alan-agius4 added this to the v17 milestone Nov 4, 2023
@alan-agius4 alan-agius4 closed this Nov 6, 2023
@alan-agius4 alan-agius4 deleted the cache-babel-transforms-vite branch November 6, 2023 10:45
@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 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant