Skip to content

Stop duplicating TypeScript class helpers in every CJS file output #2605

@benlesh

Description

@benlesh

Currently, we're outputting the class helpers in ever CJS file we output, that means that anyone bundling them will end up having N copies of __extend methods in their bundle, where N in the number of our modules they import that use classes.

This is a particular problem for the Angular team.

cc/ @IgorMinar

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