Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Feb 24, 2022

During the build initialization phase, many paths are converted back and forth between multiple normalized forms. These conversions involve potentially expensive string operations. The majority of the custom path resolve function from @angular-devkit/core usages have now been removed in favor of the Node.js builtin path functions. This change reduces the need to perform additional string manipulation where possible.

@clydin clydin added the target: major This PR is targeted for the next major release label Feb 24, 2022
…olve usages with Node.js builtins

During the build initialization phase, many paths are converted back and forth between multiple normalized forms. These conversions involve potentially expensive string operations. The majority of the custom path `resolve` function from `@angular-devkit/core` usages have now been removed in favor of the Node.js builtin path functions. This change reduces the need to perform additional string manipulation where possible.
@clydin clydin force-pushed the path-cleanup/resolve branch from 72b35f7 to 7a180a1 Compare February 24, 2022 16:10
@clydin clydin requested a review from alan-agius4 February 24, 2022 16:25
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.

Nice!

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Feb 25, 2022
@clydin clydin merged commit ed67d9a into angular:master Feb 25, 2022
@clydin clydin deleted the path-cleanup/resolve branch February 25, 2022 12:46
@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 Mar 28, 2022
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.

2 participants