Repository navigation
fix(compiler-cli): import routing module with forRoot - #16438
Conversation
tbosch
left a comment
There was a problem hiding this comment.
LGTM, please squash the commits into one.
|
@tbosch Squashed. |
|
Did not work. this is the error I have below when using npm build --prod or ng build --aot angular 5
|
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
if use forRoot with AppRoutingModule like this, it can't generate lazy routes chunks when building:
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")