I\'m converting a project to use angular cli and everything is working (once it\'s build) but i\'ve got a weird behaviour during build.
with ng serve
I
I had multiple ts files for my routes and what I did was import all those routes in my app.routes and then concat them all together to call forRoot:
export const appRoutes = xRoutes.concat(zRoutes) etc
after putting all my routes in one single file/export const statement the error/weird build behaviour disappeared.