@wocart/theme / astro / themeManifestEndpoint
Function: themeManifestEndpoint()
themeManifestEndpoint(
theme): () =>Response
The theme's manifest as a prerendered endpoint, the file a release and an
editor read (THEME_MANIFEST_PATH):
Code
The manifest is derived and validated when the module loads, so a theme whose manifest is invalid fails its build instead of shipping it.
Parameters
theme
Returns
() => Response