Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const config = {
adapter: adapter({
// We don't generate enough traffic to keep edge workers ready, so disable edge to avoid cold-starts
// Also cannot run on edge because stylelint requires NodeJS-specific APIs
// Side effect: also rules out HTTP 103 Early Hints, since that needs a layer that can send
// an informational response before the final one, which Netlify Functions can't do (edge might,
// but Netlify has no documented support for it either way, unlike e.g. Cloudflare). SvelteKit
// itself has no early-hints API, only an auto Link:rel=preload header on the final response.
edge: false,
// We split the bundles to not impact other routes with Stylelint's slow start
split: true
Expand Down
Loading