-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Optimizing classes #65
Comments
Also, this is probably out of scope, but if we consider namedtuples a kind of classes in python, it would be awesome to optimize
by renaming the arguments.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code
gets transformed into
In other words, it seems method names aren't getting replaced, and some (all non-self?) arguments aren't getting renamed either.
I'm sorry if this duplicates issue #7, but I think it's different.
Is the idea that the minifier shouldn't rename "public APIs" like classes?
In my case this is not an issue, so maybe there could be a flag?
Also, the class itself is getting renamed, so maybe this is not the case at all.
The text was updated successfully, but these errors were encountered: