Skip to content

Angular compiler plugin not reporting some cases of not finding an entry module #12238

Closed
@mascarenhas

Description

@mascarenhas

The three lines starting at

if (bootstrap.length != 1) {

are bailing out without throwing the error at the end of resolveEntryModuleFromMain, which causes the build to proceed silently but generate bundles that actually fail at runtime. This should probably throw the same error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions