Skip to content

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Oct 20, 2017

Replacing the old API. We keep the old API because we need it for JIT
(with either --aot=false or unittests).

Depends on angular/angular#19836

@hansl hansl force-pushed the new-lazy-route-api branch 4 times, most recently from 0d5ca2a to 073282e Compare October 23, 2017 20:16
filipesilva
filipesilva previously approved these changes Oct 23, 2017
@@ -80,14 +80,20 @@ export enum PLATFORM {
Server
}

export interface LazyRoute {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add this to the private interface instead?

https://github.com/angular/angular-cli/blob/master/packages/%40ngtools/webpack/src/ngtools_api.ts

This file should reflect what we believe the private interface is.

Copy link
Contributor

Choose a reason for hiding this comment

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

We can do this after 5.0 is out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

filipesilva
filipesilva previously approved these changes Oct 23, 2017
hansl added 2 commits October 23, 2017 16:40
Before it would try to load the package from the CLI project, as a
regular require() call, now it adds a check to see if it can be resolved
from the process.cwd(), before doing the previous behaviour.
Replacing the old API. We keep the old API because we need it for JIT
(with either --aot=false or unittests).

Depends on angular/angular#19836
@hansl hansl merged commit 5aa8a15 into angular:master Oct 24, 2017
@hansl hansl deleted the new-lazy-route-api branch October 24, 2017 05:08
@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 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants