add noScope to template visitor
This commit is contained in:
parent
96bb572307
commit
cf940268b9
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user