Skip to content

References to named default exports do not correctly reference the export #787

@voces

Description

@voces

When exporting a class as default, later references to the class are not correctly translated. The actual export is defined as ____exports.default, but later references attempt to use ____exports.<className>. Here is an MCVE.

This can likely be fixed by using either ____exports.default or just the class name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions