Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Aug 20, 2021

The internal TypeScript path mapping Webpack resolver plugin is used to adjust module resolution during builds via the TypeScript configuration paths option. Prior to a build, the paths option is now preprocessed to limit the amount of analysis that is needed within each individual module resolution attempt during a build. Since module resolution attempts can occur frequently during a build, this change offers the potential to reduce the total cost of module resolution especially for applications with a large amount of configured path mappings.

…solution

The internal TypeScript path mapping Webpack resolver plugin is used to adjust module resolution during builds via the TypeScript configuration `paths` option. Prior to a build, the `paths` option is now preprocessed to limit the amount of analysis that is needed within each individual module resolution attempt during a build. Since module resolution attempts can occur frequently during a build, this change offers the potential to reduce the total cost of module resolution especially for applications with a large amount of configured path mappings.
@clydin clydin added the target: major This PR is targeted for the next major release label Aug 20, 2021
@google-cla google-cla bot added the cla: yes label Aug 20, 2021
@clydin clydin marked this pull request as ready for review August 20, 2021 16:51
@clydin clydin requested a review from alan-agius4 August 20, 2021 16:52
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Aug 21, 2021
@filipesilva filipesilva merged commit 7928b18 into angular:master Aug 23, 2021
@clydin clydin deleted the ngtools/paths-plugin-perf branch August 23, 2021 13:40
@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 Sep 23, 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: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants