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

Bundling not isolated TS type #379

Closed
elv1n opened this issue Sep 11, 2020 · 1 comment
Closed

Bundling not isolated TS type #379

elv1n opened this issue Sep 11, 2020 · 1 comment

Comments

@elv1n
Copy link

elv1n commented Sep 11, 2020

esbuild keeps type name of a type in export

type Test = Element
export { Test }

output

export {
  Test
};

the bundle is clean if export defined inline in a type declaration.

I'm trying to use esbuild for an existing codebase and babel cleaning types well

@evanw evanw closed this as completed in 9819cf9 Sep 11, 2020
@evanw
Copy link
Owner

evanw commented Sep 11, 2020

Thanks for the report! This is fixed in version 0.6.34.

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

No branches or pull requests

2 participants