svelte
svelte copied to clipboard
feat(site): Deploy to edge
Makes the site edge deployable.
Entire site is prerendered, so the (authed) routes alone are regional edge functions. This feels like regular serverless, but these have no cold starts, smaller runtime and overall a little bit faster. It could have been regular edge function deployed globally, but not sure how that would affect performance for users far away from the supabase instance. Worth experimenting though
Before submitting the PR, please make sure you do the following
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
- [x] Prefix your PR title with
feat:
,fix:
,chore:
, ordocs:
. - [x] This message body should clearly illustrate what problems it solves.
- [ ] Ideally, include a test that fails without this PR but passes with it.
Tests and linting
- [ ] Run the tests with
pnpm test
and lint the project withpnpm lint
Do not merge this PR! WTH