Skip to content

ogygia error

dynamic_region_import

‹host›: dynamic import() with { with: { ‹keys› } } is not supported. Mark islands with a static `import X from '…' with { ‹wake_key›: '…' }` (or `‹render_key›` / `‹preset_key›`) — the binding becomes a portable island component. For a click-loaded chunk that is not an island, use plain `await import('./Comp.svelte')` (no region attributes) inside a host island. To delay a real island until click, gate a static region import with `{#if}`.

A region needs a static import and a tag the server can render, so region attributes on a dynamic import() do nothing (Vite drops them). Use a static marked import.

To load a plain component on click, call await import('./Comp.svelte') with no region attributes, inside an island. To delay an island, put its tag behind an if block.

Every error and warning