Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 16, 2020

The newly introduced library linker mode that removes the need for ngcc is now integrated into the Angular CLI's build system. This allows libraries that are built in linker mode to be used when building an application. Linker processing is only performed on files that contain partial compiled AOT code.

NOTE: Support for the linker is currently experimental.

@clydin clydin added state: WIP target: minor This PR is targeted for the next minor release labels Dec 16, 2020
@google-cla google-cla bot added the cla: yes label Dec 16, 2020
@clydin clydin force-pushed the aot-linker-integration branch 4 times, most recently from c3aae85 to 691bf5b Compare December 18, 2020 21:26
@clydin clydin force-pushed the aot-linker-integration branch 2 times, most recently from 359e075 to 4cb37ee Compare January 6, 2021 16:22
@clydin clydin marked this pull request as ready for review January 6, 2021 17:34
@clydin clydin force-pushed the aot-linker-integration branch from 4cb37ee to fc0b6fe Compare January 6, 2021 17:34
@clydin clydin removed the state: WIP label Jan 6, 2021
@clydin clydin force-pushed the aot-linker-integration branch 2 times, most recently from 908bf94 to 34f27cf Compare January 6, 2021 18:11
@clydin clydin force-pushed the aot-linker-integration branch from 34f27cf to 4990f30 Compare January 7, 2021 00:54
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

Small NIT.

@clydin clydin force-pushed the aot-linker-integration branch 4 times, most recently from ab756e9 to f55ec21 Compare January 7, 2021 20:20
clydin added 3 commits January 7, 2021 16:50
The newly introduced library linker mode that removes the need for ngcc is integrated into the Angular CLI's build system.  This allows libraries that are built in linker mode to be used when building an application.
…test

This adds a new E2E test that creates a library, converts it to use partial AOT compilation (linker mode), and integrates the library into an application.  This provides a full workflow test of the new method to produce a publishable Angular library.
@clydin clydin force-pushed the aot-linker-integration branch from f55ec21 to 778f95e Compare January 7, 2021 21:51
@clydin clydin requested a review from alan-agius4 January 7, 2021 21:51
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jan 8, 2021
@alan-agius4 alan-agius4 merged commit c622d2e into angular:master Jan 8, 2021
@clydin clydin deleted the aot-linker-integration branch January 8, 2021 15:21
@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 Feb 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: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants