Skip to content

@ngtools/webpack v.1.2.6 - not building lazy routes #4346

Closed
@unsafecode

Description

@unsafecode

Please provide us with the following information:

OS?

Windows 10

Versions.

[email protected]
[email protected]

@ngtools/[email protected]
[email protected]
[email protected]
not an angular-cli project

Repro steps.

After upgrading from v1.2.3 to v1.2.6, all the lazy routes chunks are missing from output. With v1.2.3, they were all included in the main bundle - which was still a mistake, but more manageable.

The log given by the failure.

No actual failure: other chunks are simply missing in output.

Mention any other details that might be useful.

app.routes.ts format:

export const ROUTES: Routes = [
{path: 'lazy', loadChildren: './lazy.module#LazyModule'},
{path: '', component: HomeView}
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions