Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Does this integration work with SSR for astro 4 (latest)? #29

Open
@aaronm-git

Description

@aaronm-git

this integration doesnt work with latest astro 4. These instructions dosnt work: https://www.sanity.io/plugins/astro-sanity

[vite] Error when evaluating SSR module /Users/.../Sites/Projects/.../frontend/astro.config.mjs:
|- TypeError: __vite_ssr_import_1__.default is not a function
    at /Users/.../Sites/Projects/.../frontend/astro.config.mjs:24:11
    at async instantiateModule (file:///Users/.../Sites/Projects/.../frontend/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:50506:9)

[astro] Unable to load your Astro config

__vite_ssr_import_1__.default is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions