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

mangleProps combined with decorator leads to internal error #3177

Closed
MuTsunTsai opened this issue Jun 17, 2023 · 3 comments
Closed

mangleProps combined with decorator leads to internal error #3177

MuTsunTsai opened this issue Jun 17, 2023 · 3 comments

Comments

@MuTsunTsai
Copy link

Whenever I use TypeScript experimentalDecorators together with a property that I want to mangle, it shows and error like this:

error: panic: Internal error (while parsing "*****.ts")

Can't really reproduce it with esbuild-try as it doesn't support decorators, but the pattern of this is quite clear.

@evanw evanw closed this as completed in 3af5d3b Jun 17, 2023
@MuTsunTsai
Copy link
Author

Thanks for the fix. Hope to see it in the next release soon.

@MuTsunTsai
Copy link
Author

Confirm issue fixed in v0.18.6.

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