sveltekit-adapter-aws
Deploy SvelteKit applications on AWS – with Lambda, CloudFront and an infrastructure described with the AWS CDK.
sveltekit-adapter-aws
sveltekit-adapter-aws turns a SvelteKit application into separate artifacts for static, prerendered and server-side content. For these, the AWS CDK sets up S3, CloudFront, an HTTP API and a Lambda function. CloudFront distributes the application; Lambda handles the server-side rendered routes.
The adapter is configured in svelte.config.js. The settings include the path to the CDK project, the name of the CloudFormation stack, an optional domain and the settings of the Lambda function. The repository points to separate repositories for a basic example, an extended configuration and a complete workshop.
Technologies: TypeScript · SvelteKit · AWS CDK · Lambda · CloudFront
Repository: github.com/MikeBild/sveltekit-adapter-aws