From 97c940d0e3d66cd0456ae2c3a5d1ceed730e2181 Mon Sep 17 00:00:00 2001
From: Brinkcoin486 <250405450+brinkcoin486@users.noreply.github.com>
Date: Tue, 10 Feb 2026 00:45:45 +0100
Subject: [PATCH] Modify size limits in index.js
Updated EDGE_FUNCTION_SIZE_LIMIT and LAMBDA_RESERVED_UNCOMPRESSED_SIZE constants in index.js.
---
patches/@vercel%2Fnext@4.4.2.patch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/patches/@vercel%2Fnext@4.4.2.patch b/patches/@vercel%2Fnext@4.4.2.patch
index 53e143ffb4..9734eba5db 100644
--- a/patches/@vercel%2Fnext@4.4.2.patch
+++ b/patches/@vercel%2Fnext@4.4.2.patch
@@ -1,13 +1,13 @@
diff --git a/dist/index.js b/dist/index.js
index 74c72085defa714ebfbeaf7c63b7956f6848da82..0d056888100804bc5442cf7378652b6886ecd357 100644
---- a/dist/index.js
-+++ b/dist/index.js
+--- a/dist/#/index.js
++++ b/dist/#/index.js
@@ -10473,7 +10473,7 @@ var import_path = require("path");
// src/constants.ts
var KIB = 1024;
- var MIB = 1024 * KIB;
+ var MIB = 1024 * KIB;*
-var EDGE_FUNCTION_SIZE_LIMIT = 4 * MIB;
-+var EDGE_FUNCTION_SIZE_LIMIT = 10 * MIB;
++var EDGE_FUNCTION_SIZE_LIMIT = 100 * MIB;
var DEFAULT_MAX_UNCOMPRESSED_LAMBDA_SIZE = 250 * MIB;
- var LAMBDA_RESERVED_UNCOMPRESSED_SIZE = 25 * MIB;
+ var LAMBDA_RESERVED_UNCOMPRESSED_SIZE = 26 * MIB;