This is a fork of svelte-kit-sst, with lambda streaming enabled.
Install the adapter to your project’s dependencies using your preferred package manager. If you’re using npm or aren’t sure, run this in the terminal:
npm install svelte-kit-sst-streaming
Add the adapter in your svelte.config.js
file.
+ import adapter from "svelte-kit-sst-streaming";
import { vitePreprocess } from "@sveltejs/kit/vite";
const config = {
preprocess: vitePreprocess(),
kit: {
+ adapter: adapter(),
},
};
export default config;