Skip to content

Doesn't transform anonymous default exports #371

Closed
@kirstymullen

Description

@kirstymullen

The transformer doesn't include anonymous exports:
export default styled(Thing)

It might be best practice to ensure all exports are named, but I'm working in a large project that already has a significant amount of these unfortunately.

It looks like the plugin did support this at some point, as getDisplayNameFromNode is already able to handle it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions