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 ( if (
variable && variable && (
variable.module || (
!variable.referenced && !variable.referenced &&
!variable.is_reactive_dependency && !variable.is_reactive_dependency &&
!variable.export_name && !variable.export_name &&
!name.startsWith('$$') !name.startsWith('$$')
)
)
) { ) {
return value || name; return value || name;
} }

Loading…
Cancel
Save