Skip to content

Add experimentalImportFactories when migrating to loadChildren import syntax #14218

Closed
@filipesilva

Description

@filipesilva

The #14181 migration also needs to add "experimentalImportFactories": true to angular.json (#13948) to make the import syntax supported in VE.

The tsconfig file should also be updated to use "module": "esnext", and a e2e test should be added to test the update works and an app with lazy routes will be updated and runs properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions