diff --git a/.changeset/old-fireants-allow.md b/.changeset/old-fireants-allow.md new file mode 100644 index 000000000000..4857a7a7cdad --- /dev/null +++ b/.changeset/old-fireants-allow.md @@ -0,0 +1,5 @@ +--- +'@astrojs/lit': patch +--- + +Render DSD attributes based on `shadowRootOptions` diff --git a/packages/integrations/lit/server.js b/packages/integrations/lit/server.js index da571466f498..aa91d1ea8c65 100644 --- a/packages/integrations/lit/server.js +++ b/packages/integrations/lit/server.js @@ -62,7 +62,11 @@ function* render(Component, attrs, slots) { yield `>`; const shadowContents = instance.renderShadow({}); if (shadowContents !== undefined) { - yield '