To deploy your app, you may need to install an adapter for your target environment.
npm i -D @sveltejs/adapter-vercel
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter(
{runtime: "nodejs18.x"}
)
},
preprocess: vitePreprocess()
};
export default config;
export const config = {
runtime: 'edge'
};