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
Breaks conditional extends by removing parenthesis #326
Comments
Hi, i'll look into this issue but currently i take a 1-2 months timeout with this project to doing renovations on my flat. So, until october i'll have no time to look into this. If i'll have time - i'll fix it. |
We currently work around it by regexing the parentheses back in place after obfuscation, so we are ok anyway. But would be nice to have it fixed when you have the time. Good luck with the renovation and thanks for a great utility! |
Can you please elaborate this, because I am also facing the same issue. |
Hi. This is |
I created the PR with the fix for |
Fixed in |
Expected Behavior
This should work after obfuscation:
export default Target => class Events extends (Target || Base) {
}
Current Behavior
Obfuscation removes () around Target || Base, which breaks it.
(the code above is used for mixins, Base is an existing class)
Your Environment
ES6
The text was updated successfully, but these errors were encountered: