aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 6e0d36a7..904295ee 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -4927,7 +4927,7 @@ merge(Compressor.prototype, {
if (def.single_use) return;
if (top_retain(def)) return;
if (sym.fixed_value() !== right) return;
- return right instanceof AST_Object;
+ return right instanceof AST_Object && right.properties.length > 0;
}
});