From cf940268b9db600bfb84e5dc7b48c663d3f2e328 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 30 May 2015 22:02:15 -0400 Subject: [PATCH] add noScope to template visitor --- src/babel/util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/babel/util.js b/src/babel/util.js index 99e61fe6dd..2cc13b2a59 100644 --- a/src/babel/util.js +++ b/src/babel/util.js @@ -126,6 +126,7 @@ export function shouldIgnore(filename, ignore, only) { } var templateVisitor = { + noScope: true, enter(node, parent, scope, nodes) { if (t.isExpressionStatement(node)) { node = node.expression;