pull/16269/head
Rich Harris 3 months ago
parent 908fdba0c5
commit dbe012163f

@ -496,7 +496,7 @@ export function build_style_directives_object(
for (const d of style_directives) {
const expression =
d.value === true
? build_getter({ name: d.name, type: 'Identifier' }, context.state)
? build_getter(b.id(d.name), context.state)
: build_attribute_value(d.value, context).value;
const object = d.modifiers.includes('important') ? important : normal;

Loading…
Cancel
Save