@@ -10051,7 +10051,9 @@ merge(Compressor.prototype, {
|
||||
found = true;
|
||||
var exp = prop.expression;
|
||||
if (compressor.option("spread") && exp instanceof AST_Object && all(exp.properties, function(prop) {
|
||||
return !(prop instanceof AST_ObjectGetter || prop instanceof AST_Spread);
|
||||
return !(prop instanceof AST_ObjectGetter
|
||||
|| prop instanceof AST_ObjectSetter && prop.key instanceof AST_Node
|
||||
|| prop instanceof AST_Spread);
|
||||
})) {
|
||||
changed = true;
|
||||
exp.properties.forEach(function(prop) {
|
||||
|
||||
Reference in New Issue
Block a user