@@ -2356,7 +2356,7 @@ Compressor.prototype.compress = function(node) {
|
||||
if (prop.key instanceof AST_Node) prop.key = prop.key.transform(tt);
|
||||
if (prop.static) {
|
||||
if (prop instanceof AST_ClassField) {
|
||||
props.push(prop);
|
||||
if (prop.value) props.push(prop);
|
||||
} else if (prop instanceof AST_ClassInit) {
|
||||
props.unshift(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user