import type { ParentProps } from "solid-js"; import { HydrationScript } from "@solidjs/web"; // The document shell — the new index.html: picked up by the src/Document.* // convention, it wraps the app in the plugin's generated entries and must // render the full . Head tags go here. It is compiled only into the // prerendered static shell and ships zero client-side JS: in client mode // is stripped from the shell, and it activates when the // app flips to SSR (`ssr: true` in vite.config.ts) — no document changes // needed. Delete this file to fall back to the plugin's built-in shell. export default function Document(props: ParentProps) { return ( Asterisk {props.children} ); }