[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
this integration doesnt work with latest astro 4. These instructions dosnt work: https://www.sanity.io/plugins/astro-sanity