diff --git a/packages/babel-plugin-minify-dead-code-elimination/src/index.js b/packages/babel-plugin-minify-dead-code-elimination/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/babel-plugin-minify-dead-code-elimination/src/index.js
+++ b/packages/babel-plugin-minify-dead-code-elimination/src/index.js
@@ -699,6 +699,9 @@ module.exports = ({ types: t, traverse }) => {
             keepFnArgs = false,
           } = {}
         } = {}) {
+          traverse.clearCache();
+          path.scope.crawl();
+
           // We need to run this plugin in isolation.
           path.traverse(main, {
             functionToBindings: new Map(),
Fix dce - recompute path & scope before pass