Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.exportname #12

Open
guybedford opened this issue Oct 5, 2020 · 0 comments
Open

this.exportname #12

guybedford opened this issue Oct 5, 2020 · 0 comments
Labels
edge case wontfix This will not be worked on

Comments

@guybedford
Copy link
Collaborator

guybedford commented Oct 5, 2020

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.

@guybedford guybedford added the enhancement New feature or request label Oct 29, 2020
@guybedford guybedford added edge case wontfix This will not be worked on and removed enhancement New feature or request labels Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edge case wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant