diff --git a/src/compiler/compile/nodes/Attribute.ts b/src/compiler/compile/nodes/Attribute.ts index 23b5e54f3f..ebed483288 100644 --- a/src/compiler/compile/nodes/Attribute.ts +++ b/src/compiler/compile/nodes/Attribute.ts @@ -96,7 +96,7 @@ export default class Attribute extends Node { } get_static_value() { - if (this.is_spread || !this.is_static) return null; + if (!this.is_static) return null; return this.is_true ? true