From 2bda7fb0bce346f7725086980e1648e2636bbefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20Ledoux?= Date: Wed, 24 May 2023 02:10:10 -0500 Subject: [PATCH] fix: add astro-static-slot to the list of inert tags in astro css (#7189) --- .changeset/static-slot-css.md | 5 +++++ packages/astro/src/runtime/server/scripts.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/static-slot-css.md diff --git a/.changeset/static-slot-css.md b/.changeset/static-slot-css.md new file mode 100644 index 000000000000..a3f1c24752ff --- /dev/null +++ b/.changeset/static-slot-css.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +fix: add astro-static-slot to the list of inert tags in astro css diff --git a/packages/astro/src/runtime/server/scripts.ts b/packages/astro/src/runtime/server/scripts.ts index b466d1df3871..4ba12d1ab08e 100644 --- a/packages/astro/src/runtime/server/scripts.ts +++ b/packages/astro/src/runtime/server/scripts.ts @@ -1,7 +1,7 @@ import type { SSRResult } from '../../@types/astro'; import islandScript from './astro-island.prebuilt.js'; -const ISLAND_STYLES = ``; +const ISLAND_STYLES = ``; export function determineIfNeedsHydrationScript(result: SSRResult): boolean { if (result._metadata.hasHydrationScript) {