We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please ignore if this already discussed.
class MyClass { //.... // Here I have 100 class methods }
This will be transformed into:
function MyClass() {} // 100 times of this repeated: MyClass.prototype.method... = fn
var _proto = MyClass.prototype // 1000 class methods ? _proto.method1 = fn _proto.method2 = fn
// var a = MyClass.prototype; // a.method1 = fn // a.method2 = fn
Imagine if we have 20 of classes like this, the amount of prototype repeated will be big, not counted the long class names
Can we have it enhanced in this way ?
The text was updated successfully, but these errors were encountered:
This looks like a duplicate of #9638
Sorry, something went wrong.
No branches or pull requests
Please ignore if this already discussed.
Suppose I have a class like this:
This will be transformed into:
Can we have something like this instead:
// a lot less output code after minification
Imagine if we have 20 of classes like this, the amount of prototype repeated will be big, not counted the long class names
Can we have it enhanced in this way ?
The text was updated successfully, but these errors were encountered: