From 1b3ad6e8187b8154dd0cafbc99a8e0d1e115f508 Mon Sep 17 00:00:00 2001 From: batuhan Date: Wed, 28 Oct 2026 16:04:48 +0000 Subject: [PATCH] Raise Functions and Zero client bundle limits to 24 MiB --- content/(dynamic)/functions.mdx | 2 +- content/(dynamic)/zero-runtime.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/(dynamic)/functions.mdx b/content/(dynamic)/functions.mdx index 8f96dcb0..136c9ae1 100644 --- a/content/(dynamic)/functions.mdx +++ b/content/(dynamic)/functions.mdx @@ -143,7 +143,7 @@ Two groups of variable names never reach a worker, dropped rather than blanked s | Limit | Value | | --- | --- | -| Compiled bundle | 8 MiB | +| Compiled bundle | 24 MiB | | Routes per version | 256 | | Next cache seed, one entry | 2 MiB minus 8192 bytes | | Next cache seed, total | 8 MiB | diff --git a/content/(dynamic)/zero-runtime.mdx b/content/(dynamic)/zero-runtime.mdx index 572cf1c6..7feff5c9 100644 --- a/content/(dynamic)/zero-runtime.mdx +++ b/content/(dynamic)/zero-runtime.mdx @@ -173,7 +173,7 @@ Only three source roots are read: `client/`, `server/`, and `shared/`. Beyond th | Limit | Value | | --- | --- | | Server bundle | 768 KiB | -| Client bundle, your code and your npm packages | 8 MiB | +| Client bundle, your code and your npm packages | 24 MiB | | Server imports | `@spacefast/zero/server`, `preact`, `preact/jsx-runtime`, `preact/jsx-dev-runtime` | | Client imports | Anything except the server SDK and `node:*` built-ins | | Endpoint request body | 2 MiB |