add noScope to template visitor

This commit is contained in:
Sebastian McKenzie 2015-05-30 22:02:15 -04:00
parent 96bb572307
commit cf940268b9

View File

@ -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;