Skip to content

this.exportname #12

Open
Open

Description

@guybedford

In CommonJS modules the this assignment also works for named exports:

this.exportName = 'value';

So long as we are at the top-level, the above would be straightforward to track, although it's such an uncommon pattern the benefit would likely be marginal but it seems worth doing nonetheless.

Activity

  1. added
    wontfixThis will not be worked on
    and removed
    enhancementNew feature or request
    on Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions