Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Oct 7, 2021

This change uses the @ampproject/remapping package to merge sourcemaps generated from the customized babel loader used to perform the partial compilation linking in applications as well as other optimization and downleveling transformations. This provides more accurate output mappings as well as improved performance and lower memory usage when source maps are enabled within a build.

12.2.x variant of #21857

…of babel loader sourcemaps

This change uses the `@ampproject/remapping` package to merge sourcemaps generated from the customized babel loader used to perform the partial compilation linking in applications as well as other optimization and downleveling transformations. This provides more accurate output mappings as well as improved performance and lower memory usage when source maps are enabled within a build.

(cherry picked from commit f10a828)
@google-cla google-cla bot added the cla: yes label Oct 7, 2021
@clydin clydin added the target: patch This PR is targeted for the next patch release label Oct 7, 2021
@clydin clydin changed the title fix(@angular-devkit/build-angular): improve fidelity and performance of babel loader sourcemaps [12.2.x] fix(@angular-devkit/build-angular): improve fidelity and performance of babel loader sourcemaps Oct 7, 2021
@clydin clydin linked an issue Oct 7, 2021 that may be closed by this pull request
15 tasks
@clydin clydin requested a review from alan-agius4 October 7, 2021 21:29
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Oct 8, 2021
@alan-agius4 alan-agius4 merged commit 8925674 into angular:12.2.x Oct 8, 2021
@clydin clydin deleted the backport/linker-sourcemap-perf-12.2.x branch October 8, 2021 11:05
@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 Nov 8, 2021
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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using ng12 partial lib and source map causing build memory exception

2 participants