Skip to content

ogygia error

region_attribute_unknown

‹host›: import ‹names› — `‹key›` is not an attribute ogygia has. A component import takes ‹known›.

An import of a .svelte component carries an attribute in its with clause that ogygia does not read: a misspelling (wkae), a retired key (partial), or an option that belongs in a preset (margin, maxAge). It is refused rather than ignored, so the import never silently stays a plain component.

The message lists the keys a component import takes, by this app's own names when ogygia({ importKeys }) renames them. Options like margin go in ogygia({ presets }), named with preset. Attributes on any other import (with { type: 'json' }) are not ogygia's and are left alone.

Every error and warning