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

Remove duplicate exports #6

Closed
3 tasks done
liuyang0826 opened this issue Aug 16, 2022 · 0 comments
Closed
3 tasks done

Remove duplicate exports #6

liuyang0826 opened this issue Aug 16, 2022 · 0 comments
Labels
enhancement New feature or request pr welcome

Comments

@liuyang0826
Copy link
Contributor

Clear and concise description of the problem

export * from './utils'

export * from './utils'

like this code, getExportsStatic will get duplicate exports.

Suggested solution

Add Array.from(new Set(exports)) ?

Alternative

No response

Additional context

No response

Validations

@liuyang0826 liuyang0826 added the enhancement New feature or request label Aug 16, 2022
@antfu antfu added documentation Improvements or additions to documentation pr welcome and removed documentation Improvements or additions to documentation labels Aug 16, 2022
@antfu antfu closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

2 participants