diff --git a/src/babel/transformation/transformers/minification/inline-expressions.js b/src/babel/transformation/transformers/minification/inline-expressions.js
index <HASH>..<HASH> 100644
--- a/src/babel/transformation/transformers/minification/inline-expressions.js
+++ b/src/babel/transformation/transformers/minification/inline-expressions.js
@@ -5,10 +5,12 @@ export var metadata = {
   group: "builtin-setup"
 };
 
-export function Expression(node, parent, scope) {
-  var res = this.evaluate();
-  if (res.confident) return t.valueToNode(res.value);
-}
+export var Expression = {
+  exit(node, parent, scope) {
+    var res = this.evaluate();
+    if (res.confident) return t.valueToNode(res.value);
+  }
+};
 
 export function Identifier() {
   // override Expression
move expression inlining to exit rather than enter in minification.inlineExpressions transformer