Skip to content

Commit b09e568

Browse files
feat(hosting): add SvelteKit framework adapter (#202)
Co-authored-by: Ahmed Hamouda <ahmedhamouda78@users.noreply.github.com>
1 parent 8fb6329 commit b09e568

54 files changed

Lines changed: 3332 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/sveltekit-adapter.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@aws-blocks/hosting": patch
3+
"@aws-blocks/core": patch
4+
---
5+
6+
Add a SvelteKit framework adapter. SvelteKit apps are now auto-detected (via
7+
`@sveltejs/kit`) and deployed through `@sveltejs/adapter-node` running on Lambda
8+
behind the Lambda Web Adapter (the existing `http-server` compute path), fronted
9+
by CloudFront + S3. Supports SSR pages, `+server.js` endpoints, form actions,
10+
server `load`, `hooks.server`, streaming, prerendered/SSG pages (served frozen
11+
from S3), custom headers, cookies, redirects, `error()`, and `paths.base`. A
12+
transparent build bridge wires `@sveltejs/adapter-node` when the app hasn't
13+
configured it, so no manual setup is required. Patch (not minor) per the
14+
pre-1.0 caret convention — the change is additive and backward-compatible.

0 commit comments

Comments
 (0)