Skip to content

feat(findExports): support named star export#45

Merged
pi0 merged 1 commit into
unjs:mainfrom
cawa-93:feat/named-star-export
Jun 16, 2022
Merged

feat(findExports): support named star export#45
pi0 merged 1 commit into
unjs:mainfrom
cawa-93:feat/named-star-export

Conversation

@cawa-93

@cawa-93 cawa-93 commented Jun 10, 2022

Copy link
Copy Markdown
Contributor

Add support for star exports with name

export * as foo from 'file'

Previously, parsing result was:

{
    type: 'star',
    specifier: undefined,
    code: 'export * ',
    start: 0,
    end: 23
  }

@pi0 pi0 changed the title feat: Named star export feat(findExports): support named star export Jun 10, 2022

@pi0 pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pi0 pi0 merged commit af777cb into unjs:main Jun 16, 2022
@cawa-93 cawa-93 deleted the feat/named-star-export branch June 16, 2022 10:36
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.

2 participants