Skip to content

fix(@ngtools/webpack): always use VE for deprecated string route discovery#17086

Merged
dgp1130 merged 1 commit intoangular:masterfrom
clydin:ivy-discover-lazy-routes
Feb 26, 2020
Merged

fix(@ngtools/webpack): always use VE for deprecated string route discovery#17086
dgp1130 merged 1 commit intoangular:masterfrom
clydin:ivy-discover-lazy-routes

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Feb 25, 2020

When in JIT mode during lazy route discovery, the Ivy compiler willl attempt to parse templates which may fail when this plugin is used with webpack loaders that support custom template formats. The string lazy routes must be discovered before the webpack build starts but the template loading/processing does not occur until the webpack build commences.

Fixes: #17002

…overy

When in JIT mode during lazy route discovery, the Ivy compiler willl attempt to parse templates which may fail when this plugin is used with webpack loaders that support custom template formats.  The string lazy routes must be discovered before the webpack build starts but the template loading/processing does not occur until the webpack build commences.

Fixes: angular#17002
@clydin clydin added target: major This PR is targeted for the next major release target: patch This PR is targeted for the next patch release and removed target: major This PR is targeted for the next major release labels Feb 25, 2020
@clydin clydin requested a review from alan-agius4 February 25, 2020 18:18
Copy link
Copy Markdown
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.

LGTM.

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Feb 25, 2020
@dgp1130 dgp1130 merged commit e7dbb31 into angular:master Feb 26, 2020
@dgp1130
Copy link
Copy Markdown
Collaborator

dgp1130 commented Feb 26, 2020

Also merged to 9.0.x patch branch.

@angular-automatic-lock-bot
Copy link
Copy Markdown

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, 2020
@clydin clydin deleted the ivy-discover-lazy-routes branch June 2, 2021 17:34
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.

Templates are processed too early

4 participants