same but for SSR

pull/2265/head
Rich Harris 6 years ago
parent 9955ac13ac
commit 977f7a6596

@ -1097,6 +1097,7 @@ export default class Component {
node.body.type === 'ExpressionStatement' &&
node.body.expression.type === 'AssignmentExpression' &&
node.body.expression.left.type === 'Identifier' &&
node.body.expression.left.name[0] !== '$' &&
this.var_lookup.get(node.body.expression.left.name).injected
)
});

Loading…
Cancel
Save