Skip to content

Closure only runs on the subset of the generated JS code not, for example, modularized code #23158

Description

@sbc100

Since we do modularization after we run closure compiler this can lead to some strange effects. For example, if we try to use await in the main out closure will see it as a top-level-await, even though in modularize mode its inside the factory function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions