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

modules: named exports can also export default #486

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

oyvindberg
Copy link
Collaborator

  • improve shadowing logic to not combine re-exported default exports from multiple modules.
  • note: changes ordering post-module resolution, so anon names will change

- improve shadowing logic to not combine re-exported `default` exports from multiple modules.
- note: changes ordering post-module resolution, so anon names will change
@oyvindberg oyvindberg merged commit 55b1a9d into master Oct 11, 2022
@oyvindberg oyvindberg deleted the recover-some-default-exports branch October 11, 2022 20:34
oyvindberg added a commit that referenced this pull request Oct 13, 2022
So far ST has looked at package.json to determine a subset of typings to include. Going forward *all* files will be translated. This solves #463

There are loads of details for computing shorter module names. These will be solved similar to how `exports` was solved in #486, by injecting "proxy modules" into the AST.

Note that some libraries ship typings for multiple hierarchies, typically in folders named `src`, `es`, `es6` and so on. we'll now get all those duplicates as well.
@oyvindberg oyvindberg mentioned this pull request Oct 13, 2022
oyvindberg added a commit that referenced this pull request Oct 17, 2022
So far ST has looked at package.json to determine a subset of typings to include. Going forward *all* files will be translated. This solves #463

There are loads of details for computing shorter module names. These will be solved similar to how `exports` was solved in #486, by injecting "proxy modules" into the AST.

Note that some libraries ship typings for multiple hierarchies, typically in folders named `src`, `es`, `es6` and so on. we'll now get all those duplicates as well.
oyvindberg added a commit that referenced this pull request Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant