do not attempt to invalidate module-level variables

pull/4352/head
Conduitry 6 years ago
parent 5076613256
commit ec734c217a

@ -161,11 +161,14 @@ export default class Renderer {
}
if (
variable &&
!variable.referenced &&
!variable.is_reactive_dependency &&
!variable.export_name &&
!name.startsWith('$$')
variable && (
variable.module || (
!variable.referenced &&
!variable.is_reactive_dependency &&
!variable.export_name &&
!name.startsWith('$$')
)
)
) {
return value || name;
}

Loading…
Cancel
Save