diff --git a/src/babel/transformation/file/index.js b/src/babel/transformation/file/index.js index f057a2b0a0..330f94e97b 100644 --- a/src/babel/transformation/file/index.js +++ b/src/babel/transformation/file/index.js @@ -428,7 +428,7 @@ export default class File { this.scope = this.path.scope; this.ast = ast; - /*this.path.traverse({ + this.path.traverse({ enter(node, parent, scope) { if (this.isScope()) { for (var key in scope.bindings) { @@ -436,7 +436,7 @@ export default class File { } } } - });*/ + }); } transform(ast) {